Created
June 9, 2009 14:25
-
-
Save hernan43/126538 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ProxyRequests On | |
| ProxyVia On | |
| <Proxy *> | |
| Order deny,allow | |
| Deny from all | |
| Allow from staffweb.reslife.msu.edu | |
| </Proxy> | |
| NameVirtualHost * | |
| <VirtualHost *> | |
| ServerAdmin webmaster@reslife.msu.edu | |
| # Passenger stanzas | |
| # | |
| #RailsBaseURI /signup | |
| DocumentRoot /var/www | |
| <Directory /> | |
| Options FollowSymLinks | |
| AllowOverride None | |
| </Directory> | |
| <Directory /var/www/> | |
| Options ExecCGI FollowSymLinks MultiViews Indexes | |
| IndexOptions +FancyIndexing +FoldersFirst | |
| AllowOverride All | |
| Order allow,deny | |
| allow from all | |
| # Uncomment this directive is you want to see apache2's | |
| # default start page (in /apache2-default) when you go to / | |
| #RedirectMatch ^/$ /apache2-default/ | |
| </Directory> | |
| # for compliance | |
| ScriptAlias /pl/ /usr/lib/cgi-bin/ | |
| ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ | |
| <Directory "/usr/lib/cgi-bin"> | |
| AllowOverride All | |
| Options Indexes +ExecCGI -MultiViews +SymLinksIfOwnerMatch | |
| Order allow,deny | |
| Allow from all | |
| </Directory> | |
| ErrorLog /var/log/apache2/error.log | |
| # Possible values include: debug, info, notice, warn, error, crit, | |
| # alert, emerg. | |
| LogLevel warn | |
| CustomLog /var/log/apache2/access.log combined | |
| ServerSignature On | |
| Alias /doc/ "/usr/share/doc/" | |
| <Directory "/usr/share/doc/"> | |
| Options Indexes MultiViews FollowSymLinks | |
| AllowOverride None | |
| Order deny,allow | |
| Deny from all | |
| Allow from 127.0.0.0/255.0.0.0 ::1/128 | |
| </Directory> | |
| </VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment