Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Apache by emilkarl ( 14 years ago )
<VirtualHost *:80>
     ServerAdmin [email protected]
     ServerName myserver.com
     
    # If myserver.com, myserver.com/* -> render /var/www/temp_site
    # If myserver.com/admin -> render /var/www/myserver/htdocs/public and keep admin as first argument

     DocumentRoot /var/www/myserver/htdocs/public

     <Directory /var/www/myserver/htdocs/public>
         AllowOverride all
         Options -MultiViews
     </Directory>

     RailsEnv production

     CustomLog /var/log/apache2/myserver_access.log combined
     ErrorLog /var/log/apache2/myserver_error.log

</VirtualHost>

 

Revise this Paste

Children: 48489 48491
Your Name: Code Language: