Created
July 28, 2009 18:06
-
-
Save iansheridan/157570 to your computer and use it in GitHub Desktop.
This file contains 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
NameVirtualHost xxx.example.com | |
<VirtualHost xxx.example.com> | |
ServerAdmin [email protected] | |
ServerName xxx.example.com | |
DocumentRoot /u/apps/example/current/public | |
RailsBaseURI /app1 | |
RailsBaseURI /app2 | |
RackBaseURI /sinatra1 | |
RackBaseURI /sinatra2 | |
RackEnv production | |
<Directory /> | |
Options FollowSymLinks | |
AllowOverride All | |
</Directory> | |
<Directory /u/apps/example/current/public > | |
Options -Indexes FollowSymLinks MultiViews | |
AllowOverride All | |
Order allow,deny | |
allow from all | |
</Directory> | |
ErrorLog /var/log/apache2/error.log | |
LogLevel warn | |
CustomLog /var/log/apache2/access.log combined | |
ServerSignature On | |
ScriptAlias /fcgi-bin /u/apps/fcgi-bin | |
# Set the options on that directory | |
<Directory /u/apps/fcgi-bin> | |
SetHandler fcgid-script | |
Options ExecCGI | |
allow from all | |
# Set the module handler | |
#AddHandler fcgid-script .fcgi | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment