|
Re: lug-bg: Merging directories with apache
- Subject: Re: lug-bg: Merging directories with apache
- From: gf@xxxxxxxxxxx (Georgi Chorbadzhiyski)
- Date: Sun, 04 Aug 2002 04:02:01 +0300
Emil Slavov wrote:
>
> Privet,
> Kak moge da mergna failovete i poddirektoriite na dve i poveche
> directorii da se vigdat prez apache kato edna directoria. Dosega pravih
> symlinks no tova ne e istinsko reshenie...
Triabva ti mod_rewrite
RewriteEngine on
RewriteCond /home/htdocs/dir1/%{REQUEST_FILENAME} -f
RewriteRule ^(.+) /home/htdocs/dir1/$1 [L]
RewriteCond /home/htdocs/dir2/%{REQUEST_FILENAME} -f
RewriteRule ^(.+) /home/htdocs/dir2/$1 [L]
RewriteCond /home/htdocs/dirX/%{REQUEST_FILENAME} -f
RewriteRule ^(.+) /home/htdocs/dirX/$1 [L]
RewriteRule ^(.+) - [PT]
--
Georgi Chorbadzhiyski
http://georgi.top.bg/
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|
|
|