Skip to content

Instantly share code, notes, and snippets.

@gistwebdev
Last active February 3, 2023 05:19

Revisions

  1. gistwebdev revised this gist Jun 2, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion template
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    <VirtualHost *:80>
    ServerAdmin webmaster@localhost
    ServerAdmin template.email

    ServerName template.url
    DocumentRoot template.webroot
  2. gistwebdev revised this gist Jun 2, 2013. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions template
    Original file line number Diff line number Diff line change
    @@ -2,12 +2,12 @@
    ServerAdmin webmaster@localhost

    ServerName template.url
    DocumentRoot webroot
    DocumentRoot template.webroot
    <Directory />
    Options FollowSymLinks
    AllowOverride All
    </Directory>
    <Directory webroot/>
    <Directory template.webroot/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
  3. gistwebdev revised this gist Jun 1, 2013. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions template
    Original file line number Diff line number Diff line change
    @@ -1,13 +1,13 @@
    <VirtualHost *:80>
    ServerAdmin webmaster@localhost

    ServerName template.local
    DocumentRoot /home/username/www/template
    ServerName template.url
    DocumentRoot webroot
    <Directory />
    Options FollowSymLinks
    AllowOverride All
    </Directory>
    <Directory /home/username/www/template/>
    <Directory webroot/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
  4. gistwebdev renamed this gist May 24, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  5. gistwebdev renamed this gist May 24, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  6. gistwebdev created this gist May 23, 2013.
    32 changes: 32 additions & 0 deletions gistfile1.apacheconf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,32 @@
    <VirtualHost *:80>
    ServerAdmin webmaster@localhost

    ServerName template.local
    DocumentRoot /home/username/www/template
    <Directory />
    Options FollowSymLinks
    AllowOverride All
    </Directory>
    <Directory /home/username/www/template/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from All
    </Directory>

    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
    <Directory "/usr/lib/cgi-bin">
    AllowOverride All
    Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
    Order allow,deny
    Allow from all
    </Directory>

    ErrorLog ${APACHE_LOG_DIR}/error.log

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn

    CustomLog ${APACHE_LOG_DIR}/access.log combined
    </VirtualHost>