This shows you the differences between two versions of the page.
installing_doku_wiki [2011/06/01 13:21] root created |
installing_doku_wiki [2011/06/17 06:52] (current) root |
||
---|---|---|---|
Line 2: | Line 2: | ||
Not the easiest task in the world. | Not the easiest task in the world. | ||
- | Check out these links: | + | By default dokuwiki webpages in Fedora 15 is only accessible for localhost. |
+ | |||
+ | In order to make dokuwiki webpages global readable and to make it a named virtual host add/change following in /etc/httpd/conf.d/dokuwiki.conf. | ||
+ | Change the ServerName and ServerAlias to suit your needs. | ||
+ | |||
+ | <code> | ||
+ | <VirtualHost *:80> | ||
+ | ServerName sys64738 | ||
+ | ServerAlias *.sys64738.dk | ||
+ | Alias /dokuwiki /usr/share/dokuwiki | ||
+ | DocumentRoot /usr/share/dokuwiki | ||
+ | |||
+ | <Directory /usr/share/dokuwiki> | ||
+ | Options +FollowSymLinks | ||
+ | Order Allow,Deny | ||
+ | Allow from all | ||
+ | </Directory> | ||
+ | |||
+ | <Directory /usr/share/dokuwiki/inc> | ||
+ | Order Deny,Allow | ||
+ | Deny from all | ||
+ | </Directory> | ||
+ | |||
+ | <Directory /usr/share/dokuwiki/inc/lang> | ||
+ | Order Deny,Allow | ||
+ | Deny from all | ||
+ | </Directory> | ||
+ | |||
+ | <Directory /usr/share/dokuwiki/lib/_fla> | ||
+ | ## no access to the fla directory | ||
+ | Order allow,deny | ||
+ | Deny from all | ||
+ | </Directory> | ||
+ | |||
+ | <Directory /etc/dokuwiki> | ||
+ | Order Deny,Allow | ||
+ | Deny from all | ||
+ | </Directory> | ||
+ | |||
+ | </VirtualHost> | ||
+ | </code> | ||
+ | |||
+ | For more information check out these links: | ||
[[http://www.fedoraforum.org/forum/showthread.php?t=261529]] | [[http://www.fedoraforum.org/forum/showthread.php?t=261529]] |