Share » Forums » Setup & design » removing index.php from url?

removing index.php from url?

removing index.php from url?

Tuesday 19 May 2009 11:39:21 am - 3 replies

Author Message

Steven E. Bailey

Tuesday 19 May 2009 12:46:02 pm

Are you ABSOLUTELY sure that mod_rewrite is enabled?

Edit:

Actually, the rewrite rules aren't going to be the problem if

http://<url>/<x>/<y>/<z>

resolves.

All the rewrite rule is doing is converting http://<url>/<x>/<y>/<z> internally to
http://<url>/index.php/<x>/<y>/<z>

I'm guessing then that it's the index.php in links on the pages that you go to without the index.php?

Certified eZPublish developer
http://ez.no/certification/verify/396111

Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com

scrieler _

Wednesday 20 May 2009 12:54:16 am

heya,

try this

[SiteAccessSettings]
ForceVirtualHost=true

best regards

M Unicorn

Wednesday 20 May 2009 8:54:24 am

I added ForceVirtualHost=<b>true</b> to my site.ini and all seemed to break (btw, shouldn't enabled=true in ini language?). A bit more searching shows I didn't have mod_rewrite being loaded in apache... Fixed that and reversed some trial and error settings I made and it is now serving out pages the way I would like :).

You were both right :), thanks for the help

m.unicorn...

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu