Apache Web Server: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
* On this file, you just need to define your virtual host, nothing else is required. | * On this file, you just need to define your virtual host, nothing else is required. | ||
* You don't need to duplicate the default_vhost.include which is in fact included from httpd.conf. | * You don't need to duplicate the default_vhost.include which is in fact included from httpd.conf. | ||
= PHP Support = | = PHP Support = |
Revision as of 19:35, 26 February 2009
Apache on Gentoo
- Add the ServerName directive to the main configuration file (httpd.conf)
- To create a virtual host, just create a new file in /etc/apache2/vhosts.d/ with the name starting with 2 digits. For example:
01_images.shoopz.com.conf
- On this file, you just need to define your virtual host, nothing else is required.
- You don't need to duplicate the default_vhost.include which is in fact included from httpd.conf.
PHP Support
- The APC module provided by Gentoo (pecl-apc) directly installs the necessary configuration options to use APC right away.
- Note however that pecl-apc-3.0.19 is incompatible with mediawiki-1.11.2. APC must be disabled until a newer version works better with Mediawiki.