Created
November 26, 2012 14:10
-
-
Save ychaouche/4148401 to your computer and use it in GitHub Desktop.
dokuwiki.conf
This file contains hidden or 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 template | |
| # Note: to use the template, rename it to /etc/apache2/vhost.d/yourvhost.conf. | |
| # Files must have the .conf suffix to be loaded. | |
| # | |
| # See /usr/share/doc/packages/apache2/README.QUICKSTART for further hints | |
| # about virtual hosts. | |
| # | |
| # NameVirtualHost statements can be added to /etc/apache2/listen.conf. | |
| # | |
| # Almost any Apache directive may go into a VirtualHost container. | |
| # The first VirtualHost section is used for requests without a known | |
| # server name. | |
| # | |
| <VirtualHost *:80> | |
| ServerName wiki.localhost | |
| ServerAlias wiki | |
| # DocumentRoot: The directory out of which you will serve your | |
| # documents. By default, all requests are taken from this directory, but | |
| # symbolic links and aliases may be used to point to other locations. | |
| DocumentRoot /srv/www/htdocs/dokuwiki | |
| # if not specified, the global error log is used | |
| ErrorLog /var/log/apache2/errors/dokuwiki.log | |
| CustomLog /var/log/apache2/access/dokuwiki.log combined | |
| ScriptAlias /cgi-bin/ "/srv/www/htdocs/dokuwiki/bin" | |
| # "/srv/www/cgi-bin" should be changed to whatever your ScriptAliased | |
| # CGI directory exists, if you have one, and where ScriptAlias points to. | |
| # | |
| <Directory "/srv/www/htdocs/dokuwiki/bin"> | |
| AllowOverride None | |
| Options +ExecCGI -Includes | |
| Order allow,deny | |
| Allow from all | |
| </Directory> | |
| # | |
| # This should be changed to whatever you set DocumentRoot to. | |
| # | |
| <Directory "/srv/www/htdocs/dokuwiki"> | |
| # | |
| # Possible values for the Options directive are "None", "All", | |
| # or any combination of: | |
| # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews | |
| # | |
| # Note that "MultiViews" must be named *explicitly* --- "Options All" | |
| # doesn't give it to you. | |
| # | |
| # The Options directive is both complicated and important. Please see | |
| # http://httpd.apache.org/docs-2.2/mod/core.html#options | |
| # for more information. | |
| # | |
| 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 None | |
| # | |
| # Controls who can get stuff from this server. | |
| # | |
| Order allow,deny | |
| Allow from all | |
| </Directory> | |
| </VirtualHost> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment