. htaccess not working in server

后端 未结 3 1334
清酒与你
清酒与你 2021-01-17 03:13

Hi My web server is Apache.I have created a sample application in my local system. It\'s working fine with the clean url. But when i uploaded to my Web server( Apache) it\'s

3条回答
  •  没有蜡笔的小新
    2021-01-17 03:37

    Is there any way to know "mod_rewrite is on " through any PHP coding?

    Yes, create a php page with . This lists your server configuration. Under the apache2handler section in "Loaded Modules" you should see mod_rewrite if it is installed.

    If it isn't listed there you will either need to ask your host or if you have access, see the apache modules-enabled folder (eg in /etc/apache2 on a standard installation) to see if there is a mod_rewrite listed.

提交回复
热议问题