Subdomain Posts
None | 1 day ago
Apache Log | 361 days ago
Apache Log | 361 days ago
Recent Posts
None | 5 sec ago
None | 17 sec ago
HTML | 19 sec ago
None | 20 sec ago
None | 23 sec ago
None | 28 sec ago
None | 32 sec ago
None | 35 sec ago
Bash | 1 min ago
None | 1 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Learn a little bit about the new Pastebin.com on our help page. hide message
By Kevin Le on the 25th of Mar 2009 04:25:42 AM Download | Raw | Embed | Report
  1. <VirtualHost *>
  2.         ServerName abc.com
  3.         ServerAdmin kevin.le@abc.com
  4.  
  5.         <Location "/">
  6.                 SetHandler python-program
  7.                 PythonHandler django.core.handlers.modpython
  8.                 SetEnv DJANGO_SETTINGS_MODULE abc.settings
  9.                 PythonPath "['/home/kevin/python'] + sys.path"
  10.                 PythonDebug On
  11.         </Location>
  12.  
  13.         SetHandler None
  14.        
  15.         DocumentRoot /var/www/abc
  16.         <Directory />
  17.                 Options FollowSymLinks
  18.                 AllowOverride None
  19.         </Directory>
  20.         <Directory /var/www/abc>
  21.                 Options Indexes FollowSymLinks MultiViews
  22.                 AllowOverride None
  23.                 Order allow,deny
  24.                 allow from all
  25.                 # This directive allows us to have apache2's default start page
  26.                 # in /apache2-default/, but still have / go to the right place
  27.                 #RedirectMatch ^/$ /apache2-default/
  28.         </Directory>
  29.  
  30.         ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  31.         <Directory "/usr/lib/cgi-bin">
  32.                 AllowOverride None
  33.                 Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  34.                 Order allow,deny
  35.                 Allow from all
  36.         </Directory>
  37.  
  38.         ErrorLog /var/log/apache2/error.log
  39.  
  40.         # Possible values include: debug, info, notice, warn, error, crit,
  41.         # alert, emerg.
  42.         LogLevel warn
  43.  
  44.         CustomLog /var/log/apache2/access.log combined
  45.         ServerSignature On
  46.  
  47.         Alias /doc/ "/usr/share/doc/"
  48.         <Directory "/usr/share/doc/">
  49.                 Options Indexes MultiViews FollowSymLinks
  50.                 AllowOverride None
  51.                 Order deny,allow
  52.                 Deny from all
  53.                 Allow from 127.0.0.0/255.0.0.0 ::1/128
  54.         </Directory>
  55.  
  56. </VirtualHost>
Submit a correction or amendment below. Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: