Wednesday 20 April 2011 10:15:53 am
hello. i have my own linux box with ez publish 4.4 and i want to get rid of this annoying index.php appearing as an element of url. to get to teh subject i did the following: 0) ensure that my apache rewrite modile works (it does) 1) set ForceVirtualHost=true in my settings/override/site.ini.append.php 2) then comes the .htaccess part! i've tried these methods: a) using conventional ez publish .htaccess (.htaccess_root). failed. b) using conventional ez publish .htaccess with first two blocks uncommented. failed. c) using the file from http://www.hostingezpublish.com/FAQ/What-is-the-.htaccess-file-I-should-use-for-eZ-Publish. failed. d) using the file from http://www.programmingfacts.com/how-to-remove-index-php-from-url-using-htaccess-mod_rewrite/. failed. all these methods give me the same error -- either 404 (when i try to access any of my urls having removed index.php/ from them; like http://<my_ezp_host>/<siteaccess>) or "The requested module index.php could not be found." (it's when i go to the old urls with index.php/ present). when i get back to ForceVirtualHost=false, i use the old, default urls, starting with index.php/ and everything works fine. please tell me, what am i doing wrong.
|