Created
December 13, 2011 00:03
-
-
Save EHLOVader/1469748 to your computer and use it in GitHub Desktop.
http conf for dynamic local dev
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> | |
ServerAlias *.svn.branch.* | |
UseCanonicalName Off | |
LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon | |
RewriteLog "C:\WebDev\Apache\logs\mod_rewrite_svn.log" | |
RewriteLogLevel 1 | |
VirtualDocumentRoot "C:\WebDev\SVN\%1\branches\%5+" | |
<Directory "C:\WebDev\SVN"> | |
#... | |
Options Indexes +FollowSymLinks | |
# | |
# AllowOverride controls what directives may be placed in .htaccess files. | |
# It can be "All", "None", or any combination of the keywords: | |
# Options FileInfo AuthConfig Limit | |
# | |
AllowOverride All | |
#RewriteEngine On | |
# | |
# Controls who can get stuff from this server. | |
# | |
Order allow,deny | |
#Allow from 127.0.0 | |
Allow from all | |
#... | |
</Directory> | |
</VirtualHost> |
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
#project domain mapping | |
127.0.0.1 project.domain.svn | |
127.0.0.1 project.domain.branch.0.0.0 | |
127.0.0.1 project.domain.branch.0.0.1 | |
127.0.0.1 project.domain.branch.0.0.2 | |
#.... | |
127.0.0.1 project.domain.tag.0.0.0 | |
127.0.0.1 project.domain.tag.0.0.1 | |
127.0.0.1 project.domain.tag.0.0.2 | |
#.... |
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> | |
ServerAlias *.domain.svn | |
UseCanonicalName Off | |
LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon | |
RewriteLog "C:\WebDev\Apache\logs\mod_rewrite_svn.log" | |
RewriteLogLevel 1 | |
VirtualDocumentRoot "C:\WebDev\SVN\%1\Trunk" | |
<Directory "C:\WebDev\SVN"> | |
#... | |
Options Indexes +FollowSymLinks | |
# | |
# AllowOverride controls what directives may be placed in .htaccess files. | |
# It can be "All", "None", or any combination of the keywords: | |
# Options FileInfo AuthConfig Limit | |
# | |
AllowOverride All | |
#RewriteEngine On | |
# | |
# Controls who can get stuff from this server. | |
# | |
Order allow,deny | |
#Allow from 127.0.0 | |
Allow from all | |
#... | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment