First install the following gems: #su #gem install mongrel #gem install mongrel_cluster #cd project_name #mongrel_rails cluster::configure -e production -p 3000 -N 3 -c /home/siwan/project_name -a 127.0.0.1 —-prefix /project_name # mongrel_rails cluster::start You are able to start your applicaton at http://127.0.0.1:3000, … Continue reading
Category Archives: Apache
Solved: Access denied with code 400 (phase 2).
When I restarted my apache server. I am using the fedora 9 here. I did not get my default page opened in browser. When I opened the apache error log file. I saw following error. ModSecurity: Access denied with code … Continue reading
Solved: DirectoryIndex not allowed here
When I tried to run my one of my project on server I got following error on the Browser.: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the … Continue reading
solved: [warn] _default_ VirtualHost overlap on port 80, the first has precedence
Here I am using the Fedora 9 for this example. If you want to host many sites on one computer or machine. I added following lines to httpd.conf file(end of file). <VirtualHost *:80> Options +FollowSymLinks ServerName example1.com DocumentRoot /var/www/html/example1 </ … Continue reading
Solved issue -Directory index forbidden by Options directive:
I want to change the default location of Apache folder which is (var/www/html). I am using the Fedora 9 as OS and apache 2 here. When I inserted the following code in bottom of the httpd.conf file. <VirtualHost *:80> Options … Continue reading
clean url with html file
We have site in plain html file and some time we want to use clean URLs or Pretty URLs for our site. Clean URLs are in demand becasue of Seach Engine Optimiztion. You can achive the Clean URLs. With not … Continue reading
Basic authentication using Apache Rule with Fedora
Two months back i got requirement of do basic authentication for testing site server. So Google or any search engine site cannot index the testing sites. We are using Fedora as Operating System and Apache as webserver on our testing … Continue reading