problem of access and path

by Etno, Friday, December 09, 2011, 13:56 (530 days ago)

my virtual host is:

<VirtualHost *:80>
        ServerName subdomain.domain
        DocumentRoot /var/www/rsslounge
        <Directory /var/www/rssrsslounge>
                AllowOverride All
        </Directory>
</VirtualHost>

and the access by http://subdomain.domain is buggy (all javascript doesn’t work).

The log error apache:

PHP Warning:  Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0
[Fri Dec 09 12:48:40 2011] [notice] Apache/2.2.16 (Debian) PHP/5.3.3-7+squeeze3 with Suhosin-Patch configured -- resuming normal operations
[Fri Dec 09 12:48:51 2011] [error] [client 95.128.145.150] File does not exist: /usr/share/javascript/all.js, referer: http://subdomain.domain/
[Fri Dec 09 12:49:10 2011] [error] [client 95.128.145.150] File does not exist: /usr/share/javascript/jquery-1.5.min.js, referer: http://subdomain.domain/
[Fri Dec 09 12:49:14 2011] [error] [client 95.128.145.150] File does not exist: /usr/share/javascript/all.js, referer: http://subdomain.domain/

But if my virtual host is:

<VirtualHost *:80>
        ServerName subdomain.domain
        DocumentRoot /var/www/
        <Directory /var/www/rsslounge>
                AllowOverride All
        </Directory>
</VirtualHost>

then the access by http://subdomain.domain/rsslounge is good ! Where is my problem ?

Thanks !

RSS Feed of thread
powered by my little forum