httpd.conf

Find out Apache Version

by on December 20, 2008 · 19 comments

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?

{ 19 comments }

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?

{ 18 comments }

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?

{ 38 comments }

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?

{ 13 comments }

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

{ 5 comments }

Most Linux / UNIX configuration files are documented using comments, but some time I just need to see line of configuration text in a file. How can I view just the uncommented configuration file directives from squid.conf or httpd.conf file?

{ 7 comments }

Q. How do I find out my Apache webserver document root under Linux / UNIX / BSD operating systems?

{ 2 comments }