Viewing Category » Apache

Disabling directory browsing to prevent files from being displayed .htaccess apache webserver hosts

Post Thumbnail of Disabling directory browsing to prevent files from being displayed .htaccess apache webserver hosts
 Apache       

In some cases for a better security or even by just your intention you may want to prevent files from being displayed for the public on your website where there is no index.php o index.html
To do so on Apache Webserver where you have root access just copy and paste the …

1 January 2012  No comments

how to fix mod_fcgid: can’t apply process slot for /usr/local/cpanel/cgi-sys/php5, referer:

Post Thumbnail of  how to fix mod_fcgid: can't apply process slot for /usr/local/cpanel/cgi-sys/php5, referer:
 Apache       

solution was changing the apache directive to the following
MaxRequestsPerProcess 1000
DefaultMaxClassProcessCount 120
IdleTimeout 60
MaxProcessCount 2000
IPCCommTimeout 40
IPCConnectTimeout 10
MaxRequestLen 10240000

7 November 2011  No comments

Redirect all of the traffic with requested old domian url to new domian with the same url using .htaccess

Post Thumbnail of Redirect all of the traffic with requested old domian url to new domian with the same url using .htaccess
 Apache       

One of the Concerns on changing a domain name is at first the Search Engine ranks on the pages that all will be lost because google will not find the old urls by the old domian
So it is a good Idea to direct all of the visitors from the …

26 May 2011  1 comment

Fixing Apache Error Name or service not known: mod_unique_id: unable to find IPv4 address of

Post Thumbnail of Fixing Apache Error Name or service not known: mod_unique_id: unable to find IPv4 address of
 Apache       

I couldn’t get apache started
it returened this error
Name or service not known: mod_unique_id: unable to find IPv4 address of
Starting httpd: httpd: apr_sockaddr_info_get() failed for server.domain.com
httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
I checked the error_log it had the same error showing so …

21 May 2011  No comments

Install and compile Zend Optimizer with apache and php on DirectAdmin Control panel with custombuild

Post Thumbnail of Install and compile Zend Optimizer with apache and php on DirectAdmin Control panel with custombuild
 Apache       

Zend should be installed if you want to have ioncube and ioncube is a must for some scripts to work
to install go to directory
/usr/local/directadmin/custombuild/
cd /usr/local/directadmin/custombuild/
nano options.conf
set zend=yes
THen run
./build update
./build zend
and a process will go on and if you encountered this message
Zend Optimizer has been installed.
means that the installation is succeeded
THanks
voshka …

23 March 2011  No comments

Srvice httpd fullstatus error /usr/sbin/apachectl: line 97: lynx: command not found

Post Thumbnail of Srvice httpd fullstatus error /usr/sbin/apachectl: line 97: lynx: command not found
 Apache       

HI, every one
today I was asked for a server to optimize its apache for a high load that its control panel was directadmin
I went ahead and did every configuration and optimization I could do.
but at last I wanted to know the apache fullstatus to see if all of the configuration …

21 March 2011  No comments

Compile Apache with php and mod_fcgid-FastCgi in directadmin installed control panel

Post Thumbnail of Compile Apache with php and mod_fcgid-FastCgi in directadmin installed control panel
 Apache       

fcgid is apache fastcgi implementation module that is really a fast apache handler.It is an alternative to apache mod_cgi and mod_cgid apache handler module but so much faster and with high performance .What it really does as I know it caches the php functions and classes and remain them active …

18 March 2011  No comments

Compile apache with mpm_worker with directadmin custombuild

Post Thumbnail of Compile apache with mpm_worker with directadmin custombuild
 Apache       

Apache MPM_WORKER is a Multi-Processing Module (MPM) implements a hybrid multi-process multi-threaded server that consumes less system resources and respond to requests and process them faster.faster proceses and less memory usage and not crashing on a pipe logging control panels for gracefully restar are the benefirst of this MPM
For compiling …

18 March 2011  No comments

Redirect url based on referer website or ip address using .htaccess

Post Thumbnail of Redirect url based on referer website or ip address using .htaccess
 Apache       

By using .htacess you can easily redirect your visitors base on what they have been refered
this is a good practice if forexample you have created an adwords campain, rather than providing the specific url each time in your adwords keyword would be a hard job and time consuming
or if you …

5 February 2011  No comments

Prevent CGI execution in apache for better security

Post Thumbnail of Prevent CGI execution in apache for better security
 Apache       

Why CGI execution is vulnarable for shared hostings
CGi scripts work directly with Operating system with help of web server, so that they are so much vulnarable for a shared hosting dedicated server that allows execution of cgi scripts with thousents of accounts hosted on it that even one of them …

2 August 2010  No comments
 Page 1 of 3  1  2  3 »
CrossBlock designed by DeltaManual.Com  |  In conjunction with Web Hosting   |   Web Hosting   |   Reverse phone