≡ Menu

httpd.conf

Find out Apache Version

I have a rented dedicated LAMP solution stack server. I need to know what version of Apache I am running. How do I find out my Apache server version? How do I find out what modules loaded using command line option on Linux or Unix like operating systems?
[click to continue…]

Red Hat / CentOS Linux: Apache Enable WebDAV

Q. Web-based Distributed Authoring and Versioning ( WebDAV) - is a set of extensions to the Hypertext Transfer Protocol (HTTP) that allows users to collaboratively edit and manage files on remote World Wide Web servers. How do I enable WebDAV under CentOS / RHEL 5 Linux server?
[click to continue…]

Question:I'm using Apache 2 to host multiple site on a single host using Apache name based VirtualHost feature. However, Apache is displaying lots of warning as follows:

Performing sanity check on apache22 configuration:
[Portal Oct 05 06:59:34 2008] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
[Portal Oct 05 06:59:34 2008] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
[Portal Oct 05 06:59:34 2008] [warn] NameVirtualHost 81.aaa.www.yyy:80 has no VirtualHosts
Syntax OK
Stopping apache22.
Waiting for PIDS: 14968.
Syntax OK
Starting apache22.
[Portal Oct 05 06:59:36 2008] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
[Portal Oct 05 06:59:36 2008] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
[Portal Oct 05 06:59:36 2008] [warn] NameVirtualHost 81.aaa.www.yyy:80 has no VirtualHosts

How do I fix this warning and host multiple websites under UNIX / Linux Apache 2 webserver?
[click to continue…]

Apache Error Client Denied By Server Configuration

Q. I'm running Apache 2 Web sever under CentOS Linux and getting an error that read as follows:

[Wed Sep 17 21:53:49 2008] [error] [client 122.1xx.y9.zzz] client denied by server configuration: /var/www/examples.com/

How do I fix this error?
[click to continue…]

Apache redirect www.domain.com to domain.com

Q. How do I remove www from all my urls so that search engine can only rank domain.com/ urls under Linux Apache web server?

[click to continue…]

How To Find Apache Document Root

Q. How do I find out my Apache webserver document root under Linux / UNIX / BSD operating systems?
[click to continue…]