Forums / Install & configuration / mysite.com/index.php doesn't work, but index.php/ does

mysite.com/index.php doesn't work, but index.php/ does

Author Message

Linh Vu

Wednesday 25 May 2005 10:32:46 am

I developed this site using ezp 3.5.2 offline on a Win platform and just uploaded it to my vds, in a virtual host setup. Everything seems to work fine except this little thing. Pointing the browser to mysite.com/index.php will give me a kernel error 20 module not found. However mysite.com/index.php/ or mysite.com/index.php/site(admin) will work. I've set the default siteaccess correctly to "site", and it works offline on my Win installation. Also, the main difference that I can see between my offline installation and the VDS is that the former has Apache 1.3.33 and the latter has 2.0.40. Can anyone help me with this? Thanks a lot.

If I had more time, I would write less code.

Linh Vu

Wednesday 25 May 2005 11:54:56 pm

I read up on mod_rewrite and added a RewriteRule that forwards index.php to index.php/ It fixes it. Never had this problem before though.

If I had more time, I would write less code.