Search Type:
Search for:

Language:

Product:
Category:
No categories for selected product

[Info] How can I find where apache web server stores configuration, log and other sort of files?

Article ID: 5440 
Last Review: Oct,6 2008
Author: Vitaly Malakhov
Last updated by: system APPLIES TO:
  • Parallels Plesk Panel for Linux/Unix

Resolution

All standard paths for apache directories are stored in Plesk configuraion file. Example can be found below:

Note: all examples are taken from Plesk 8.x installations, so if you have older version paths can be different. You should check it on the server directly.

For RedHat based:

# grep HTTPD /etc/psa/psa.conf
HTTPD_VHOSTS_D /var/www/vhosts     # Virtual hosts directory
HTTPD_CONF_D /etc/httpd/conf       # Apache configuration files directory
HTTPD_INCLUDE_D /etc/httpd/conf.d  # Apache include files directory
HTTPD_BIN_D /usr/bin               # Apache binary files directory
HTTPD_LOG_D /var/log/httpd         # Apache log files directory
HTTPD_SERVICE httpd                # Apache startup script


For FreeBSD:

# grep HTTPD /etc/psa//psa.conf
HTTPD_VHOSTS_D /usr/local/www/vhosts            # Virtual hosts directory
HTTPD_CONF_D /usr/local/etc/apache2             # Apache configuration files directory
HTTPD_INCLUDE_D /usr/local/etc/apache2/Includes # Apache include files directory
HTTPD_BIN_D /usr/local/sbin                     # Apache binary files directory
HTTPD_LOG_D /var/log                            # Apache log files directory
HTTPD_SERVICE apache2                           # Apache startup script


For Debian and Ubuntu servers:

# grep HTTPD -r /etc/psa/psa.conf
HTTPD_VHOSTS_D /var/www/vhosts      # Virtual hosts directory
HTTPD_CONF_D /etc/apache2           # Apache configuration files directory
HTTPD_INCLUDE_D /etc/apache2/conf.d # Apache include files directory
HTTPD_BIN_D /usr/bin                # Apache binary files directory
HTTPD_LOG_D /var/log/apache2        # Apache log files directory
HTTPD_SERVICE apache2               # Apache startup script


Subscription for changes to this article Subscription for changes to this article

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields
 
 
 
 
 
 
For Home
For Business
For Hosters
For SaaS
For Developers
 
Desktop Virtualization
- Parallels Desktop Switch to Mac Edition
- Parallels Desktop for Mac
- Parallels Desktop 4 for Windows & Linux
- Parallels Workstation Extreme
- Parallels Solution for Windows 7
Server Virtualization
- Parallels Server for Mac
- Parallels Server 4 Bare Metal
- Parallels Virtuozzo Containers
Automation
- Parallels Operations Automation
- Parallels Business Automation
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
More Products