χρήστης
συνθηματικό
θυμήσου με
 
 
Dest
2010-02-25 01:34
pure ingredients
2009-06-27 16:31
hotelevropi
2009-06-27 16:22
Sites running on madpy
2009-06-27 16:03
madcorf
2009-05-03 17:24
 
από thk thk στις 2008-09-09 17:03
This is a sample apache configuration for madpy sites that have openroom also

<VirtualHost *:80>
    ServerAdmin root@localhost
    ServerName www.madpy.net
    ServerAlias madpy.net
    DocumentRoot /path/to/madpy

        <Directory /path/to/madpy>
                Options None
                AllowOverride All
                Order allow,deny
                allow from all

                SetHandler mod_python
                PythonHandler main
                PythonDebug On

        </Directory>

    <Directory /path/to/madpy/media>
        SetHandler None
        Order allow,deny
        allow from all
    </Directory>

    <Directory /path/to/madpy/achat>
        Options None
        AllowOverride All
        Order allow,deny
        allow from all
    
         SetHandler mod_python
         PythonHandler Main
         PythonDebug On
         PythonOption mod_python.session.application_path /
    </Directory>
 


    CustomLog /var/log/apache2/madpy.log combined
    ErrorLog /var/log/apache2/madpy_error.log

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn

    ServerSignature On

   

</VirtualHost>