Re: [Apache] Vhost with mod_rewrite
From: Gob42 (lgob42_at_free.fr)
Date: 01/20/05
- Previous message: Alberto Bert: "Re: listening radio from the internet"
- In reply to: Jacob S: "Re: [Apache] Vhost with mod_rewrite"
- Next in thread: Jacob S: "Re: [Apache] Vhost with mod_rewrite"
- Reply: Jacob S: "Re: [Apache] Vhost with mod_rewrite"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 20 Jan 2005 17:26:40 +0100 To: debian-user@lists.debian.org
I have looked the documentation of apache with your url and i created
this configuration :
<VirtualHost *>
ServerName %0
ServerAdmin postmaster@%2+
ServerAlias %2+
DocumentRoot /home/www/%2+/%1
ErrorLog /var/log/apache/%2+/error.log
CustomLog /var/log/apache/%2+/access.log full
<directory /home/www/%2+>
php_admin_value open_basedir "/home/www/%2+/%1"
AllowOverride FileInfo AuthConfig Limit Indexes Options
Options MultiViews SymLinksIfOwnerMatch +Includes +ExecCGI
-FollowSymLinks
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
Order deny,allow
Deny from all
</Limit>
</directory>
</VirtualHost>
Apache is down with this configuration...
I think that comes from the first lines, could you say me how to manage
those?
Thank you for your assistance!
Jacob S a écrit :
>On Thu, 20 Jan 2005 16:19:26 +0100
>Gob42 <lgob42@free.fr> wrote:
>
>
>
>>Thanks for your answers.
>>
>>I don't want tu use a perl script or in any other language, because i
>>don't want to relod apache each time i add a domain or a sub-domain.
>>
>>My goal is to do the configuration just one time and after never
>>modify it.
>>
>>Does someone do something like that? It is possible or not?
>>
>>
>
>Yes, mod_vhost_alias that I was just describing works that way. No
>config files to edit or apache processes to restart after you add a new
>domain name.
>
>See my previous e-mail for more links to the documentation.
>
>HTH,
>Jacob
>
>
>
>
>
-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: Alberto Bert: "Re: listening radio from the internet"
- In reply to: Jacob S: "Re: [Apache] Vhost with mod_rewrite"
- Next in thread: Jacob S: "Re: [Apache] Vhost with mod_rewrite"
- Reply: Jacob S: "Re: [Apache] Vhost with mod_rewrite"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|