Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

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
============================================================================




 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.