Archive for the 'Apache' Category
Viewing 21-30 of 52 FAQ -- 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 [...] - Linux disable unneeded modules in Apache to save memory :
Q. How do I disable unneeded Apache modules under Debian Linux?
A. You can disable all unneeded modules in Apache to save memory and improve performance. This may also result into improved security. Different Linux distribution follows different methods for disabling modules.
Debian / Ubuntu Linux disable a module
Debian / Ubuntu Linux comes with two scripts:
(a) a2enmod [...] - Linux / UNIX generate htpasswd to store username and password with htpasswd command :
Q. How do I use htpasswd command to store username and passwords?
A. htpasswd is used to create and update the flat-files used to store usernames and password for basic authentication of HTTP users. If htpasswd cannot access a file, such as not being [...] - Howto rebuild Apache for Cpanel Linux / UNIX Server (Control Panel) :
Q. I’d like to rebuild Apache web to include support for additional modules or to latest version. How do I rebuild Apache for Cpanel Server?
A. Building Apache is quite easy under Cpanel server.
Procedure to Rebuild Apache for Cpanel
Login as the root using ssh
Type the following commands:
# cd /scripts
# ./updatenow
# ./easyapacheJust follow on screen instructions to [...]
- 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 [...] - Display or view the perl cgi errors in a web browser :
Q. I’m currently learning Perl cgi programming and coded a small web site in a Perl. Usually errors are logged in a log file. How can I view the perl cgi errors in a we browser like firefox?
A. CGI scripts have a nasty habit of leaving warning messages in the error logs that are [...] - PHP encryption symmetric program example using crypt to store password in a text file :
Q. Symmetric encryption is a type of encryption where the same key is used to encrypt and decrypt the message. Can you explain how do I use symmetric encryption under PHP to store password in a text file and authenticate the user?
A. Symmetric encryption differs from asymmetric (also known as public-key) encryption, which uses one [...] - Tweaking php for maximum execution time for script :
Q. I’ve been trying to migrate my two webblogs into one using Wordpress inbuilt import facility. I’m clicking on Manage > Export on your on my current blog and following on screen instructions.
After downloading the .xml file, navigate to my new blog’s admin area and click on Manage > Import and follow the instructions. However [...] - How do I enable apache file and directory indexing under Linux or UNIX? :
Q. I’m using Apache 2 under Linux. How do I enable apache file and directory indexing? Currently it is disabled and I would like to enable the same for /pdfs/ directory (http://domain.com/pdfs).
A. Under Apache web server automatic index generation is enabled with using Options +Indexes or Options Indexes directive.
If a URL which maps to a [...] - Plesk type themes for webmin Web hosting control panel :
Q. Where can I download Plesk type themes for webmin Web hosting control panel?
A. Webmin is a system configuration tool for Unix-like systems. It has a web-based interface (GUI) desktop environment independent, for configuring some of the internals of the operating system. Webmin is largely based on Perl, and is running as its own process, [...]
« Previous Page — Next Page »
Viewing 21-30 of 52 FAQ -


Recent Comments
Today ~ 1 Comment
Today ~ 2 Comments
Yesterday ~ 9 Comments
Yesterday ~ 32 Comments
07/04/2008 07:04 pm (2 days ago) ~ 1 Comment