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?!?

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 01:27:03
Script start
Timing: Jan 31 2025 01:27:03
Module start 'layout'
Timing: Jan 31 2025 01:27:03
Module start 'content'
Timing: Jan 31 2025 01:27:03
Module end 'content'
Timing: Jan 31 2025 01:27:03
Script end

Main resources:

Total runtime0.0244 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 588.3828151.2422
Module start 'layout' 0.00480.0038 739.6250220.7656
Module start 'content' 0.00860.0141 960.3906997.7578
Module end 'content' 0.02270.0017 1,958.148433.9922
Script end 0.0244  1,992.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002711.1562140.0002
Check MTime0.00114.4707140.0001
Mysql Total
Database connection0.00072.759510.0007
Mysqli_queries0.00218.712030.0007
Looping result0.00000.041010.0000
Template Total0.00125.110.0012
Template load0.00103.901610.0010
Template processing0.00031.162610.0003
Override
Cache load0.00062.432510.0006
General
dbfile0.00145.749480.0002
String conversion0.00000.024440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs