Forums / Setup & design / Nice URL - mishap

Nice URL - mishap

Author Message

Neil Kanth

Wednesday 19 January 2005 3:25:18 pm

I modified the PHP httpd.conf file by adding this:
<i>
<VirtualHost 69.64.43.141>
<Directory /home/webadmin/pooran.us/html/>
Options Indexes FollowSymLinks Includes
AllowOverride None
</Directory>

php_admin_flag safe_mode Off
php_admin_value open_basedir none

RewriteEngine On
RewriteRule !(^/design|^/var/.*/storage|^/var/storage|^/var/.*/cache|^/var/cache|^/extension/.*/design|^/kernel/setup/packages).*\.(gif|css|jpg|png|jar|js|ico|pdf|swf)$ /index.php

ScriptAlias /mail /var/www/cgi-bin/openwebmail/openwebmail.pl
ScriptAlias /cgi-bin/openwebmail /var/www/cgi-bin/openwebmail
Alias /openwebmail /var/www/html/openwebmail
ServerName pooran.us
DocumentRoot "/home/webadmin/pooran.us/html/"
User "webadmin"
Group "webadmin"
ServerAlias "pooran.us" "www.pooran.us" "ftp.pooran.us" "mail.pooran.us"
ServerAdmin "webadmin@pooran.us"
Alias "/openwebmail/" "/var/www/html/openwebmail/"
ScriptAlias "/cgi-bin/openwebmail/" "/var/www/cgi-bin/openwebmail/"
ScriptAlias "/mail/" "/var/www/cgi-bin/openwebmail/openwebmail.pl"
ScriptAlias "/cgi-bin/" "/home/webadmin/pooran.us/cgi-bin/"
AddType "text/html" ".shtml"
AddHandler "server-parsed" ".shtml"
CustomLog "/home/webadmin/pooran.us/access_log" "common"
ErrorLog "/home/webadmin/pooran.us/error_log"
</VirtualHost>
</i>
It somehow causes pages that utilizes icons in the Administrative Section to drop those icons. Those areas affected are, Content Structure, Media Library and User Accounts.

Could someone suggest a solution?

-Neil

Björn Dieding@xrow.de

Wednesday 19 January 2005 3:30:26 pm

yepp wrong rewrite rule

http://ez.no/ez_publish/documentation/installation/virtual_host_setup

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/