7 FAQ tagged "httpd"
Viewing 1-7 of 7 FAQ -- Display Apache Server Status with mod_status :
How do I display Apache server status such as current server activity and performance under Red Hat Enterprise Linux?
- FreeBSD Configure Apache 2.2 PHP with FastCGI mod_fcgi Module :
Q. I’d like to switch from mod_php5 to mod_fastcgi. I’m using FreeBSD 7 release along with following software:
+ Apache 2.2
+ PHP as mod_php5
+ MySQL DB 5.1.23 server
How do I configure php as FastCGI server? - Apache Web Server Prevent Directory / Folder Listing :
Q. If there is no index.html or index.php, Apache displays all other files in a Directory. How do I force Apache web server not to display my directory / folder list?
A.This controlled by a module called mod_autoindex or mod_dir.
You can completely remove (or replace) automatic index generation as per your requirements. The IndexIgnore directive adds [...] - Hide the Apache Web Server Version number with ServerSignature and ServerTokens directives :
Q. How do I hide the Apache version number under CentOS Linux 5 server?
A. You can easily hide Apche (httpd) version number and other information. There are two config directives that controls Apache version. The ServerSignature directive adds a line containing the Apache HTTP Server server version and the ServerName to any server-generated documents, such [...] - Disable SELinux for only Apache / httpd in Linux :
Q. How do I disable SELinux protection for only Apache web server in Linux? I’m using CentOS Linux server.
A. You can disable Apache SELinux protection easily. Please keep in mind that by disabling SELinux for apache you are inviting more security related problems.
Disable Apache SELinux Protection
Open /etc/selinux/targeted/booleans file using a text editor:
# vi /etc/selinux/targeted/booleans
Append or [...] - Apache redirect domain.com to www.domain.com :
Q. What’s the best way to redirect domain.com to www.domain.com on the url address bar whenever someone omits or skip the www from domain.com? My site can be reached by two different URLs. For example http://domain.com/about/us.html and http://www.domain.com/about/us.html
How do I do configure Apache web sever vps for this task?
A. Apache (web server) 301 redirect [...] - Apache restrict access based on IP address to selected directories :
Apache web server allows server access based upon various conditions. For example you just want to restrict access to url http://payroll.nixcraft.in/ (mapped to /var/www/sub/payroll directory) from 192.168.1.0/24 network (within intranet).
Apache provides access control based on client hostname, IP address, or other characteristics of the client request using mod_access module.
Open your httpd.conf file:
# vi /etc/httpd/conf/httpd.confLocate directory [...]
Viewing 1-7 of 7 FAQ - ( see all popular tags )


Recent Comments
Today ~ 32 Comments
Yesterday ~ 1 Comment
Yesterday ~ 3 Comments
Yesterday ~ 2 Comments
Yesterday ~ 3 Comments