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

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

eZ debug

Timing: Jan 30 2025 07:06:36
Script start
Timing: Jan 30 2025 07:06:36
Module start 'content'
Timing: Jan 30 2025 07:06:36
Module end 'content'
Timing: Jan 30 2025 07:06:36
Script end

Main resources:

Total runtime0.3680 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0110 588.1953370.2656
Module start 'content' 0.01100.0164 958.46091,001.5156
Module end 'content' 0.02740.3406 1,959.97663,897.0703
Script end 0.3680  5,857.0469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00491.3436200.0002
Check MTime0.00150.3977200.0001
Mysql Total
Database connection0.00110.290510.0011
Mysqli_queries0.262771.37951410.0019
Looping result0.00170.45141390.0000
Template Total0.340292.410.3402
Template load0.00080.211410.0008
Template processing0.339492.208610.3394
Override
Cache load0.00050.147810.0005
Sytem overhead
Fetch class attribute can translate value0.00210.574910.0021
XML
Image XML parsing0.00030.079010.0003
General
dbfile0.01032.8026200.0005
String conversion0.00000.001630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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