Apache's .htaccess issue with absolute addressing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



That is problem on my skavt.net server, but also an issue of knowledge.
I need to access my css/js/pic files with absolute addressing(starting
with /)  I can do this on my home server if I start from /var/www and
not from /var/www/peace-refuge/, but when I upload to skavt.net server
in the www/ (my root dir) the thing doesn't work any more.
What do I need to write in .htaccess file in base dir
to mark for example /www/ is base dir and when accessing a file with /my.css
will look in /www/my.css address and not in somewhere else I do not
where and I do not know how to figure that out?

I tried this
RewriteBase /www/
writing in the file /www/.htaccess

but it doesn’t work. Please help me! Thanks in advance, Grega from Slovenia

♥♥♥ When the sun rises I receive and when it sets I forgive! ♥♥♥
http://moj.skavt.net/gleskovs/    ♥ Always, Grega Leskovšek

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux