Created
December 5, 2012 16:50
-
-
Save foxiepaws/4217343 to your computer and use it in GitHub Desktop.
new mka2host
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
ScriptAlias /cgi-bin/ #DIR#/cgi-bin/ | |
<Directory "#DIR#/cgi-bin/"> | |
AllowOverride None | |
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch | |
Order allow,deny | |
Allow from all | |
</Directory> |
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
my %config = ( | |
vhostroot => '/srv/www/', | |
ip => '127.0.0.1', | |
port => '80', | |
cgi_enabled => 1, | |
php_enabled => 1, | |
php_fcgid_host => 'localhost', | |
php_fcgid_port => '9000', | |
allowoverride => 'None', | |
admin => 'webmaster@domain.com' | |
); |
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
FastCgiExternalServer #DIR#/cgi-bin/php5.external -host #PHPHOST# |
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 #ip#:#port#> | |
ServerAdmin #ADMIN# | |
ServerName #HOST# | |
ErrorLog #DIR#/logs/error.log | |
LogLevel warn | |
CustomLog #DIR#/logs/access.log combined | |
DocumentRoot #DIR#/htdocs/ | |
<Directory #DIR#/htdocs> | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride #OVERRIDE# | |
Order allow,deny | |
allow from all | |
</Directory> | |
#CGI# | |
#PHP# | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment