Discount Web Design Blog

Just another Web Design Blog

Entries for the ‘Apache Configuration’ Category

Odd mod_rewrite issue

Hi everyone,
I’m coming across this weird RewriteRule issue and don’t know how to remedy it.
Although mod_rewrite works like I want it to on other directories in my site, when I try to write the simple rule below, the GET variable is not stored.

Code:
RewriteRule ^account/([a-z]+)$ account.php?mod=$1 [NC]

After messing around with the code a bit, I realized [...]

URGENT: .htaccess – requires multiple logins to work

Hey – At work trying to get our company’s website to function correctly. Our customer are calling and complaining that they cant log in. Any help is grately appreciated.
The problem: .htaccess is requiring multiple login attempts before granting access to protected folder
Quick Background:
We have an e-commerce website (oscommerce) that is behind [...]

Tips on Skype/Apache war

Did you experience that Apache does not work due to Skype? TeamViewer?
When you load skype earlier than apache, it locks the port:80.
So, apache does not start.
The best thing is that you disable auto loading skype in Windows, and allow Apache (from XAMPP, WAMP, …) load first.
It works then after.

Apache Prefork MPM, Is this kind of bug? Need assistance

Hi in apache i am checking on preforking mpm modules, In my apache configuration there seems it going against theory on certain odd conditions.
If you are setting StartServers=x and MinIdleServers=x+2 then it has to start the apahce with x number of childs and it has to settle down to x+2 value on server(Be informed that [...]

Installing SSL

Hello,
I have a Debian (Lenny) machine running Apache2 + mod_ssl. I’m trying to import\install an SSL certificate but I’m running into a lot of troubles.
When starting the webserver, I get the following message:

Code:
[Wed Jul 07 05:13:53 2010] [error] Unable to configure RSA server private key
[Wed Jul 07 05:13:53 2010] [error] SSL Library Error: 185073780 error:0B080074:x509 [...]

mod_rewrite problem

Hi guys
I am new to using mod_rewrite, but need it for a project I am currently working on.
From what I have researched so far, I have a page which looks like this:
http://www.mysite.com/cars/ford/types.php?type=Escort
Using mod_rewrite I can change the page to look like this …
http://www.mysite.com/cars/ford/Escort.html
The code I am using, I have put in the "ford" folder, and [...]

Strange Issue With my server Plz Help

Hello,
I am running dedicated server, well there is strange problem happening from the last couple of months, As I am using monitoring services from couple of websites so what I noticed is that after few days or every day I am getting emails from monitoring websites regarding the Connection Time Out Error, I myself verified [...]

.htaccess not directing properly

Hi,
I have an issue, i am new to using .htaccess files and have an issue.
Basically i am working on this site:
{snip}
You will see my file structure, if you click on "view" you will be taken to my homepage.
Now in my .htaccess file i need to make it so when you visit this page:
{snip}
It takes [...]

How can I allow only clients who have certificates to access a particular URL?

http://httpd.apache.org/docs/2.2/ssl/ssl_howto.html
"How can I allow only clients who have certificates to access a particular URL, but allow all clients to access the rest of the server?"
I get an error:

Code:
[Thu Jul 01 15:37:35 2010] [error] [client 127.0.0.1] user /C=RU/ST=-/L=Moscow/O=Reki.ru/OU=SVN/CN=bugzilla.ru/emailAddress=svn@svn.reki.ru: authentication failure for "/": Password Mismatch

Passing 2 variables with a / in between?

I’m trying to create a pretty url from this:
mypage.com/seopages/roundsearch.php?id=13&title=this-is-a-test
I want it to look like this:
mypage.com/roundsearch/13/this-is-a-test
I use a rewriteurl like this:
RewriteRule ^roundsearch/([a-zA-Z0-9_-]+)/?$ seopages/roundsearch.php?id=$1&title=$2
But when trying this I get "Ups! Link broken!"
What am I doing wrong???