Forums / Install & configuration / setup removal of index.php but css has stopped working

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

setup removal of index.php but css has stopped working

Author Message

nicholas king

Tuesday 16 March 2010 4:03:51 am

Hello all, i am new to ez and have followed the documentation to remove index.php? from the urls which is working really well through vhosts mode. However in setting this up i have stopped the css from being called in. my vhost setting looks like this.

<VirtualHost 10.185.128.34>
<Directory D:/www/intranet-test>
Options FollowSymLinks
AllowOverride none
</Directory>

<IfModule mod_php5.c>
php_admin_flag safe_mode Off
php_admin_value register_globals 0
php_value magic_quotes_gpc 0
php_value magic_quotes_runtime 0
php_value allow_call_time_pass_reference 0
</IfModule>

DirectoryIndex index.php

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule content/treemenu/? /index_treemenu.php [L]
Rewriterule ^/var/storage/.* - [L]
Rewriterule ^/var/[^/]+/storage/.* - [L]
RewriteRule ^/var/cache/texttoimage/.* - [L]
RewriteRule ^/var/[^/]+/cache/(texttoimage|public)/.* - [L]
Rewriterule ^/design/[^/]+/(stylesheets|images|javascript)/.* - [L]
Rewriterule ^/share/icons/.* - [L]
Rewriterule ^/extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts?)/.* - [L]
Rewriterule ^/packages/styles/.+/(stylesheets|images|javascript)/[^/]+/.* - [L]
RewriteRule ^/packages/styles/.+/thumbnail/.* - [L]
RewriteRule ^/favicon\.ico - [L]
RewriteRule ^/robots\.txt - [L]
## Uncomment the following lines when using popup style debug.
RewriteRule ^/var/cache/debug\.html.* - [L]
RewriteRule ^/var/[^/]+/cache/debug\.html.* - [L]
RewriteRule .* /index.php
RewriteRule ^/index\.php/(.*)$ /$1 [L,R=301]

</IfModule>

DocumentRoot D:/www/intranet-test
ServerName eztest
ServerAlias eztestadmin
</VirtualHost>

any ideas?

Thanks in advance

Nicholas

nicholas king

Tuesday 16 March 2010 4:09:03 am

just to add the css on the admin panel is fine which is what is confusing me more.

nicholas king

Tuesday 16 March 2010 4:17:24 am

also when i browse to where the css should be located in the browser

http://eztest/extension/intranet/design/intranet/stylesheets/intranet.css

i get the html for the homepage returned?!?