Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

Anonymous
Wednesday, March 12th, 2008 at 9:05:55pm UTC 

  1. NameVirtualHost *
  2. <VirtualHost *>
  3.         ServerAdmin [email protected]
  4.  
  5.         DocumentRoot /home/erick/public_html/
  6.         <Directory />
  7.                 Options FollowSymLinks
  8.                 AllowOverride None
  9.         </Directory>
  10.         <Directory /home/erick/public_html/>
  11.                 Options Indexes FollowSymLinks MultiViews
  12.                 AllowOverride None
  13.                 Order allow,deny
  14.                 allow from all
  15.                 # This directive allows us to have apache2's default start page
  16.                 # in /apache2-default/, but still have / go to the right place
  17.                 #RedirectMatch ^/$ /apache2-default/
  18.         </Directory>
  19.  
  20.         ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  21.         <Directory "/usr/lib/cgi-bin">
  22.                 AllowOverride None
  23.                 Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  24.                 Order allow,deny
  25.                 Allow from all
  26.         </Directory>
  27.  
  28.         ErrorLog /var/log/apache2/error.log
  29.  
  30.         # Possible values include: debug, info, notice, warn, error, crit,
  31.         # alert, emerg.
  32.         LogLevel warn
  33.  
  34.         CustomLog /var/log/apache2/access.log combined
  35.         ServerSignature On
  36.  
  37.     Alias /doc/ "/usr/share/doc/"
  38.     <Directory "/usr/share/doc/">
  39.         Options Indexes MultiViews FollowSymLinks
  40.         AllowOverride None
  41.         Order deny,allow
  42.         Deny from all
  43.         Allow from 204.73.103.253/255.255.255.0 ::1/128
  44.     </Directory>
  45.  
  46. </VirtualHost>

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right
worth-right