Re: [Apache] Vhost with mod_rewrite

From: Gob42 (lgob42_at_free.fr)
Date: 01/20/05

  • Next message: Christopher Pharo Glæserud: "Re: Irregular crashes (freezes) on Sarge"
    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
    

  • Next message: Christopher Pharo Glæserud: "Re: Irregular crashes (freezes) on Sarge"

    Relevant Pages

    • Nagios Error CGI
      ... I have a problem with the installtion and configuration of nagios. ... And apache 1.3.27.0-2 ... I have read the Documentation and tried it out and I received this error ... and check the authorization options in your CGI configuration file. ...
      (Debian-User)
    • Re: [Apache] Vhost with mod_rewrite
      ... > ServerName %0 ... > AllowOverride FileInfo AuthConfig Limit Indexes Options ... > Apache is down with this configuration... ...
      (Debian-User)
    • Re: hardware training - storageWorks
      ... Click on the 'Technical documentation' link. ... is the SWCC VMS Agent ... Configuration is easy using SWCC as is replacement of failed devices ... RAID 5 set on the controller - the SWCC ...
      (comp.os.vms)
    • Re: (Another) simple benchmark
      ... I'm NOT using PHP - it was mentioned as a reason threaded apache is not widely used. ... This performance is objectively low even by itself, without any comparison with other operating systems (such as linux). ... What I *am* doing now is looking for someone who has a 4 CPU or bigger machine idle on which he/she can replicate this simple benchmark (it really IS simple - you need apache20 port in default configuration - everything's included) and confirm or contradict my results. ... If it's Linux, FreeBSD 4, FreeBSD 6, Windows, Solaris, ...
      (freebsd-performance)
    • Re: Hmm, not understanding log4j properly :(
      ... > is actually looking to open this file for reading? ... the log4j system. ... As the documentation of the method (public static void ... The reaction has to be defined within the configuration ...
      (comp.lang.java.programmer)