Removing index.php not working on hosting althougt all conditions true |
Hi,
first of all I know that is a famous problem and I have already tried probably everything and I am just tired after 4 days of fighting. I feel stupid asking that as the next but I am really desperate. The thing is: Removing index.php from URL works fine on localhost (XAMMP) but does not work on hosting (OVH, Apache) i.e. http://example.com/index.php/contact works fine while http://example.com/contact does NOT work. On the server I set "root folder" into "public" folder and it seems working. My application is:
The original .htaccess in "public" folder didn't work on the hosting. A dummy .htaccess like: Quote:RewriteEngine On ...also does not work (neither in "public" nor in "/" folder). I can see only a message "File not found." when I choose Important is that my hosting provider told me "rewrite_mod" work correct on the server. Does anybody know what problem can be? Should .htaccess be placed in "public" or in "/"? Best Regards! |
Messages In This Thread |
Removing index.php not working on hosting althougt all conditions true - by futureisnow - 09-18-2019, 01:11 PM
RE: Removing index.php not working on hosting althougt all conditions true - by dave friend - 09-18-2019, 01:36 PM
RE: Removing index.php not working on hosting althougt all conditions true - by futureisnow - 09-18-2019, 02:21 PM
RE: Removing index.php not working on hosting althougt all conditions true - by unromantic - 09-18-2019, 04:15 PM
|