. htaccess not working in server

后端 未结 3 1311
清酒与你
清酒与你 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:22

    Most likely *mod_rewrite* is enabled. If it is not, you will probably need to contact your hosting company to activate it OR override the servers default with RewriteEngine On in your .htacces. Are you getting a 500, Internal Server Error when you try to run the script?

    And if it was not compiled (or they can't provide it) with php, then maybe its time to find a new host?

    Good luck!

提交回复
热议问题