Forums / Install & configuration / Remove "index.php?"
Sònia Sánchez
Wednesday 04 April 2007 5:04:03 am
Hi!
I read some forum messages from removing "index.php" forcing virtual host and I try some things.
I put this .htaccess:http://ez.no/doc/ez_publish/technical_manual/3_8/installation/virtual_host_setup#comment6272
And I put in override/site.ini.append.php:
[SiteAccessSettings] ForceVirtualHost=true
But I don't have any results...Somebody knows how can I remove "index.php?" (question mark included)?
The server that hosting my web site have PHP in CGI and I can't change it, because I don't have access to this server.It is possible that the server does not let to me put htaccess?
Thanks! :)
Egil Fujikawa Nes
Friday 13 April 2007 12:14:02 pm
Hi Sònia,
Take a look here, this is covering your question:
http://www.buildcms.com/tech_corner/howto/change_from_a_uri_to_host_based_siteaccess
Good luck :)
BuildCMS - Av. Paulista 777, 15° Andar - CEP: 01311-100 - São Paulo URL: http://www.buildcms.com
Wednesday 02 May 2007 12:27:37 am
Hi Egil!
Thanks for your help, but I can't modify the apache configuration. I don't have access to the server services and the htaccess doesn't works...
I don't know what can I do more... :___
Konrad Mazurkiewicz
Wednesday 02 May 2007 3:24:04 am
Hi,Today i removed index.php? in that way:
1. Put in settings/override/site.ini.append.php
[SiteAccessSettings]ForceVirtualHost=true
2. create .htaccess in ez root folder with that content
Options +FollowSymlinks RewriteEngine On RewriteRule ^var/storage/.* - [L] RewriteRule ^var/[^/]+/storage/.* - [L] RewriteRule ^var/cache/texttoimage/.* - [L] RewriteRule ^var/[^/]+/cache/texttoimage/.* - [L] RewriteRule ^design/.* - [L] #RewriteRule ^design/[^/]+/(stylesheets|images|javascript)/.* - [L] #RewriteRule ^design/[^/]+/(stylesheets|images|javascript)/.* - [L] RewriteRule ^share/icons/.* - [L] RewriteRule ^sitemaps/.* - [L] RewriteRule ^extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts|javascript?)/.* - [L] RewriteRule ^packages/styles/.+/(stylesheets|images|javascript)/[^/]+/.* - [L] RewriteCond $1 !^index.php$ RewriteRule (.*) /index.php DirectoryIndex index.php
Thursday 03 May 2007 2:52:57 am
Hi babies ;)
Sorry but... It doesn't work... :____ When I force the virtual host the page can't found the stylesheets.Then I put the htaccess and dosen't works too...
I think that this server doesn't accepts htaccess files.It's possible?
Regards.
Thursday 03 May 2007 7:42:12 am
A simple way to see if the server accept your .htaccess file is to create a file named test.php and add only this line into your .htaccess:
DirectoryIndex test.php
If the test.php file is shown you .htaccess file works, then maybe you need to look into your hosting providers mod_rewrite support.
Hope this could help you to identify your problem.
Try out Free eZ Publish 4.0 Trial Hosting for 14 days: http://webdealhosting.com/ez-publish-trial-hosting High quality eZ Publish Hosting since 2001!
Friday 04 May 2007 1:43:34 am
This is my problem... This server don't accept htaccess...I'm looking how can I do.
Thanks a lot! :)