![]() |
|
||||||
Q: Configuring Apache's httpd.conf
Is there an example apache httpd.conf file for the opensource version?
Answer:
Posting here just the key sections of our own httpd.conf (based on a default httpd.conf shipped with Apache 2.2):
1.# Dynamic Shared Object (DSO) Support
LoadModule php5_module libexec/apache22/libphp5.so
# This line is usually added automatically when you 'make install' for PHP5
2. # For whatever your DocumentRoot is:
Order allow,deny
Allow from all
# Because we usually have a 'yoxel' symlink in our DocumentRoot
3. # DirectoryIndex:
4.# For better security, do not show any Yoxel .inc files
5. # Add mime type for PHP
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
# This is also usually automatically added by PHP5 'make install'
6. # You may need to edit these files if you configure your virtual hosts and HTTPS:
#Include etc/apache22/extra/httpd-vhosts.conf
#Include etc/apache22/extra/httpd-ssl.conf
To see all user comments and participate in the disscussion log into >>Yoxel Support Portal / Knowledge Base<<
For anonymous login click this link