X

httpd

Making www and @ point to the same servername in apache

Sometime we just can't control the client is accessing our website either via www or just without www. In virtualhost…

Redirect without WWW to a WWW domain for Vhost.

Adding redirect to preferred domain with WWW instead of without www. Use the following . ServerName www.namran.net ServerAlias namran.net RewriteEngine…

httpd:How to add another port for webhosting

Let's say somehow client want the webservices to be hosted at the different port of default *:80. Just add the…

Apache Tips : How to force redirect old domain to new domain

Change the definition of Override in /etc/httpd/conf/httpd.conf # # AllowOverride controls what directives may be placed in .htaccess files. #…

How to force reload a XML / HTML files on server

How you wish the browser not to cache the configuration file inside an XML file. adding the following to /etc/httpd/conf/httpd.conf…