Apache

Installing Virtualmin http error on centos 5.6

Posted by on July 10, 2011 at 5:42 am

Error: Missing Dependency: httpd = 2.2.3-22.el5.centos.1 is needed by package httpd-devel-2.2.3-22.el5.centos.1.i386 (installed) Run to check what is currently installed on the server rpm -qa | grep httpd simple fix : Uninstall the current version of apache using yum yum remove httpd **make sure you backup any custom conf* files prior ** Reference

Apache: deny not allowed here

Posted by on November 24, 2010 at 3:50 am

If you are seeing “deny not allowed here” within your error logs .Try adding the following to your httpd conf file for the virtual site. <Directory /home/www/troublefolder> Options Indexes FollowSymLinks MultiViews +Includes AllowOverride All Order allow,deny allow from all </Directory> of course replace the trouble folder with the actual folder name . If you do [...]

SSL received a record that exceeded the maximum permissible length

Posted by on March 17, 2010 at 4:43 pm

Secure Connection Failed An error occurred during a connection to db6442f6.fb.joyent.us. SSL received a record that exceeded the maximum permissible length. (Error code: ssl_error_rx_record_too_long) Solution: You will need to make sure the ssl is setup correctly in the httpd.conf or iis settings.

Apache: (24)Too many open files: couldn’t spawn child process:

Posted by on February 15, 2009 at 10:40 pm

Error :  (24)Too many open files: couldn’t spawn child process:  Running the command  su -s /bin/sh apache -c “ulimit -n” will show you the ulimit for apache wich is 1024 by default on most linux servers    solution: I had a look at the system, and found that it was hitting the limit of 1024 [...]

Apache: keeping subdomain URL in browser address bar

Posted by on August 23, 2008 at 1:32 pm

reference 1 reference 2 ============ code RewriteEngine on RewriteCond %{HTTP_HOST} ^sub1.domain.tld [NC] RewriteRule ^/(.*)$ /sub1/$1 [L] RewriteCond %{HTTP_HOST} ^sub2.domain.tld [NC] RewriteRule ^/(.*)$ /sub2/$1 [L]