Created
December 7, 2010 14:05
-
-
Save mrchrisadams/731814 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
<VirtualHost *:80> | |
ServerAdmin support@headshift.com | |
DocumentRoot /srv/html/project/current | |
DirectoryIndex index.php | |
ServerName networking.headshift.project.org.uk | |
ErrorLog logs/networking.project.staging-error_log | |
CustomLog logs/networking.project.staging-acess_log common | |
DirectoryIndex index.php | |
#RewriteEngine on | |
# Drupal CleanURLs | |
#RewriteCond %{REQUEST_FILENAME} !-f | |
#RewriteCond %{REQUEST_FILENAME} !-d | |
#RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] | |
<Directory /srv/html/project/> | |
Options -Indexes | |
AllowOverride All | |
AuthType Basic | |
AuthName "project API Staging" | |
AuthUserFile /var/www/auth/passwd | |
Require user project | |
Order allow,deny | |
Allow from project.org.uk | |
Allow from 212.161.9.162 | |
Satisfy Any | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment