Re: [users@httpd] directoryindexing or what?
On 19/10/11 01:01 PM, Georgi Georgiev wrote: http://pastebin.com/TpRkeaVq some lines are commented (but tryed and when teh were uncommented - just experiments) Georgi, Best move the DirectoryIndex directive out of the block. Also, you keep remove the history from this thread, and it makes it very hard to follow. I'm not sure if I asked you this already, but edit your vhost instead. Frank. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Windows 7 DocumentRoot directive not working
I found the issue. I edited the httpd.conf file with textpad. But, textpad wasn't running as administrator. So, my changes were saved in an unknow user location. Every time I opened the httpd.conf file, it opened my personal version instead of the file, not the real file. So, my changes were never saved. Even though, it appeared to change. Thanks Microsoft. I love opening a file and having the O.S. open a different file, but not telling me that it opened a different file. On Wed, Oct 19, 2011 at 1:02 PM, Serge Fonville wrote: > Hi, > > Assuming you restarted apache after changing the httpd.conf.. > > What output do you get from: > httpd.exe -S > sc query | find /i "apache" > tasklist /fi "Imagename eq httpd.exe" /svc > > HTH > > Kind regards/met vriendelijke groet, > Serge Fonville > http://www.sergefonville.nl > > Convince Google!! > They need to add GAL support on Android (star to agree) > http://code.google.com/p/android/issues/detail?id=4602 > > > > 2011/10/19 Robert Waligora : > > I installed Apache 2.2.21 on Windows 7 machine. Test "It Works" page is > > displayed. I changed the following in httpd.conf: > > > > DocumentRoot "e:/webroot/" > > > > > > I created "webroot" folder on e drive (also tried with c drive and > without > > ending slash). > > Put a sample index.html file in that folder with a different message > (i.e. > > not "It Works"). > > Restarted the Apached service, but still get the "It Works" message. I > opend > > my new index.html file will a browser to verify that there are no errors > > with the html code. > > I made sure that the is only 1 "DocumentRoot" directive in the httpd.conf > > file. > > > > Access.log file shows that get requests are coming in. > > Error.log file doesn't show any error messages > > > > Any ides? > > -- > > Robert Waligora ~ http://www.waligora.com > > Cell Phone: 440-941-2262 (new cell phone number) > > Home Phone: 440-519-0733 > > > > - > The official User-To-User support forum of the Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > " from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > -- Robert Waligora ~ http://www.waligora.com Cell Phone: 440-941-2262 (new cell phone number) Home Phone: 440-519-0733
Re: [users@httpd] Windows 7 DocumentRoot directive not working
Hi, Assuming you restarted apache after changing the httpd.conf.. What output do you get from: httpd.exe -S sc query | find /i "apache" tasklist /fi "Imagename eq httpd.exe" /svc HTH Kind regards/met vriendelijke groet, Serge Fonville http://www.sergefonville.nl Convince Google!! They need to add GAL support on Android (star to agree) http://code.google.com/p/android/issues/detail?id=4602 2011/10/19 Robert Waligora : > I installed Apache 2.2.21 on Windows 7 machine. Test "It Works" page is > displayed. I changed the following in httpd.conf: > > DocumentRoot "e:/webroot/" > > > I created "webroot" folder on e drive (also tried with c drive and without > ending slash). > Put a sample index.html file in that folder with a different message (i.e. > not "It Works"). > Restarted the Apached service, but still get the "It Works" message. I opend > my new index.html file will a browser to verify that there are no errors > with the html code. > I made sure that the is only 1 "DocumentRoot" directive in the httpd.conf > file. > > Access.log file shows that get requests are coming in. > Error.log file doesn't show any error messages > > Any ides? > -- > Robert Waligora ~ http://www.waligora.com > Cell Phone: 440-941-2262 (new cell phone number) > Home Phone: 440-519-0733 > - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] directoryindexing or what?
http://pastebin.com/TpRkeaVq some lines are commented (but tryed and when teh were uncommented - just experiments)
[users@httpd] Windows 7 DocumentRoot directive not working
I installed Apache 2.2.21 on Windows 7 machine. Test "It Works" page is displayed. I changed the following in httpd.conf: DocumentRoot "e:/webroot/" I created "webroot" folder on e drive (also tried with c drive and without ending slash). Put a sample index.html file in that folder with a different message (i.e. not "It Works"). Restarted the Apached service, but still get the "It Works" message. I opend my new index.html file will a browser to verify that there are no errors with the html code. I made sure that the is only 1 "DocumentRoot" directive in the httpd.conf file. Access.log file shows that get requests are coming in. Error.log file doesn't show any error messages Any ides? -- Robert Waligora ~ http://www.waligora.com Cell Phone: 440-941-2262 (new cell phone number) Home Phone: 440-519-0733
Re: [users@httpd] directoryindexing or what?
On 19/10/2011 12:26 PM, Georgi Georgiev wrote: I have domain (documentroot - /var/www/htdocs) and subdirectory wordpress, but when open it with browser ...//wordpress it lists the .php files (example wp-config, wp-login.php etc) instead of loading the page. Previously solved the problem as put DirecoryIndex, but now whatever I try to do when open the wp again list the php files.. Georgi, Please pastebin the relevant configuration. In your case, your vhost would be a good start. Frank - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Windows 7 httpd.conf setting saved after un-install
> Can anyone explain the Windows Miracle? Because, really, I would like a > clean httpd.conf file so I can start over. You need to escalate your rights to administrator, like running notepad as administrator. Otherwise window saves "user copy" of the file. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[users@httpd] Windows 7 httpd.conf setting saved after un-install
First, I'm a seasoned professionaly and I know (mostly) what I'm doing. That said, I'm experiencing very strange behaviour with Apache 2.2 on Windows 7 machine. I uninstalled Apache because I couldn't get the DocumentRoot directory to work. I deleted the Apache2.2 directory from my hard drive. I emptied the trash can. I rebooted the computer (after all it is windows) I re-installed the latest version of Apache 2.2.21 I went to the Apache2.2/conf folder and opened the "httpd.conf" file (not sample) in TextPad The changes that I made to the file before re-installing it were still there. I repeated this process 3 times, I even change the location where I installed Apache with the same results. Can anyone explain the Windows Miracle? Because, really, I would like a clean httpd.conf file so I can start over. Please don't reply to me with your Windows XP advice. Windows 7 is nothing like XP, Vista or 2008 etc... I'm not being a jerk, but the security model in Windows 7 is batty. I also know that this would be solved my installing Linux etc... Wish I could, but that isn't an option (at least not right now). -- Robert Waligora ~ http://www.waligora.com Cell Phone: 440-941-2262 (new cell phone number) Home Phone: 440-519-0733
Re: [users@httpd] directoryindexing or what?
I have domain (documentroot - /var/www/htdocs) and subdirectory wordpress, but when open it with browser ...//wordpress it lists the .php files (example wp-config, wp-login.php etc) instead of loading the page. Previously solved the problem as put DirecoryIndex, but now whatever I try to do when open the wp again list the php files..
Re: [users@httpd] directoryindexing or what?
On 19/10/2011 11:42 AM, Georgi Georgiev wrote: After edit the same thing... Whether the problem may be in other section (or line) to post it here or php..and I don't know. Searched, reading documentation, asking people - not found solution.. Georgi, What is happening, exactly, and what did you expect to happen? Frank - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] directoryindexing or what?
After edit the same thing... Whether the problem may be in other section (or line) to post it here or php..and I don't know. Searched, reading documentation, asking people - not found solution..
Re: [users@httpd] directoryindexing or what?
On 19/10/2011 11:03 AM, Georgi Georgiev wrote: I have that lines on the config, but the result is same. One person sayed here that ifmudule line is wrong. Whether the problem may be here? I added new lines so there is # # Order allow,deny # Deny from all # Satisfy All # SetHandler application/x-httpd-php SetHandler application/x-httpd-php-source is it right? Georgi, You're not using IfModule, and you shouldn't really either. Also, "SetHandler application/x-httpd-php-source" is wrong in this context. You only need "SetHandler application/x-httpd-php" to process .php files. Frank - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] directoryindexing or what?
I have that lines on the config, but the result is same. One person sayed here that ifmudule line is wrong. Whether the problem may be here? I added new lines so there is # # Order allow,deny # Deny from all # Satisfy All # SetHandler application/x-httpd-php SetHandler application/x-httpd-php-source is it right?
Re: [users@httpd] A CGI test program with a misterious error
> The problem is: this programs work in the machine of everyone testing it. So > I can imagine the problem is due a Pascal code. It is necessarily due to > another fact. If the issue is the "exec format error", the question would be if/how you run it outside of a CGI on the affected machine. This error means your OS doesn't know how to execute it. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
RE: [users@httpd] Rewrite rules working properly in the htaccess but no in the virtualhost
Yes! In a directory container it runs as desired! With this in each virtualhost there is a default robots.txt if the user don't put any robots. Thanks! > Date: Wed, 19 Oct 2011 07:49:21 -0400 > From: cove...@gmail.com > To: users@httpd.apache.org > Subject: Re: [users@httpd] Rewrite rules working properly in the htaccess but > no in the virtualhost > > On Wed, Oct 19, 2011 at 7:49 AM, Eric Covener wrote: > > In vhost context, rewriting happens before aliases are resolved. > > In htaccess context, it happens after. > > You can use in httpd.conf and get the later behavior. > > > > > I don't understand your issue, but that seems to be the cause. > > > > > > -- > Eric Covener > cove...@gmail.com > > - > The official User-To-User support forum of the Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >" from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org >
Re: [users@httpd] A CGI test program with a misterious error
Yes, I was able to understand this log if the same files shouldn't have run in the machine of a friend. In this case, certainly, it would have an error in Pascal code. I could ask in a Pascal list and someone could recognise the error. The problem is: this programs work in the machine of everyone testing it. So I can imagine the problem is due a Pascal code. It is necessarily due to another fact. Em 19-10-2011 11:49, Marcin 'Rambo' Roguski escreveu: Well, in Pascal, it's not possible since it was compiled. The log says apache is confused about the file alone The other issue I see is that your script don't output http headers - they should send at least "Content-Type" header. - The official User-To-User support forum of the Apache HTTP Server Project. Seehttp://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] A CGI test program with a misterious error
> Well, in Pascal, it's not possible since it was compiled. The log says apache is confused about the file alone The other issue I see is that your script don't output http headers - they should send at least "Content-Type" header. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] A CGI test program with a misterious error
If I understood, you are questioning that in the first line of my codes, I dont't have a line like: #!/usr/bin/env lua #!/usr/bin/env python Well, in Pascal, it's not possible since it was compiled. My english is really not very well, so I can have understood wrongly. If I understood, you are questioning that in the first line of my codes, I dont't have a line like: #!/usr/bin/env lua #!/usr/bin/env python Well, in Pascal, it's not possible since it was compiled. My english is really not very well, so I can have understood wrongly. Em 19-10-2011 11:37, Marcin 'Rambo' Roguski escreveu: sudo chmod +x file Shouldn't you add interpreter line as well? #!/bin/interpreter - The official User-To-User support forum of the Apache HTTP Server Project. Seehttp://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] A CGI test program with a misterious error
> sudo chmod +x file Shouldn't you add interpreter line as well? #!/bin/interpreter - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[users@httpd] A CGI test program with a misterious error
Hello listers, This is my first message. I am trying to walk the first steps in web development, so I am pleased to enter in Apache's world. I have two test CGI programs writen in Pascal. The first one writes some input using "writeln". The second one uses specific CGI classes. The first runs, the second doesn't. The natural conclusion would be: "Luciano, you are in the wrong list. The problem is in your Pascal code, not in Apache". This truth would seem logical if the error was produced in other machines. Yes, the first example runs in other machines; the second doesn't run only in mine. Permissions? the problem can be lack of permissions in CGI folder. No, for each file in /usr/lib/cgi-bin, I did: sudo chmod +x file Apache is configured because the first example runs. All the files in cgi-bin has enough permission to be executed. There's no error in Pascal code because both examples run in other machine. In browser, I have always the error 500: Internal exception server. In Apache's log, I have: [Tue Oct 18 15:50:36 2011] [error] (8)Exec format error: exec of '/usr/lib/cgi-bin/test3' failed [Tue Oct 18 15:50:36 2011] [error] [client 127.0.0.1] Premature end of script headers: test3 Does someone have any idea what it can be done or witch is the nature of the problem? Luciano cgi1.tar.gz Description: GNU Zip compressed data cgi2.tar.gz Description: GNU Zip compressed data - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Re: SSL certificates and virtual hosts
As long as you don't need to support certain browsers. IIRC Android < 2.2 for example won't support wildcard certs. Sent from my iPhone On Oct 18, 2011, at 7:00 PM, Andrew Schulman wrote: >> Our website account with our ISP has one fixed IP address and allows >> a number of virtual hosts. The main site has an SSL certificate for >> secure access. I wish to add another certificate for one of the named >> virtual hosts. According to Tech Support the account only allows one >> SSL certificate per IP address. > > You can solve this problem by using a wildcard and/or multi-domain > certificate. It's a single certificate that covers multiple hosts and/or > domains. You can get them fairly cheaply, for example the "Verified (Class > 2)" certificate from startssl.com. > > We do this with a setup of 6 virtual hosts that include three hosts (dev, > test, www) in each of two different domains. A single certificate covers > them all. Apache writes an error message to the log about using SSL with > multiple virtual hosts, but the message is wrong and we ignore it. It > works just fine. > > > - > The official User-To-User support forum of the Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > " from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Rewrite rules working properly in the htaccess but no in the virtualhost
On Wed, Oct 19, 2011 at 7:49 AM, Eric Covener wrote: > In vhost context, rewriting happens before aliases are resolved. > In htaccess context, it happens after. You can use in httpd.conf and get the later behavior. > > I don't understand your issue, but that seems to be the cause. > -- Eric Covener cove...@gmail.com - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Rewrite rules working properly in the htaccess but no in the virtualhost
In vhost context, rewriting happens before aliases are resolved. In htaccess context, it happens after. I don't understand your issue, but that seems to be the cause. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] apache seems to be busy
On Wed, Oct 19, 2011 at 7:52 AM, Petr Hracek wrote: > Hello Tom, > > as you mentioned I need to do stress test of the application. > How to do that for SSL connection? > > best regards > Petr > ab, siege, flood, jmeter, grinder, httperf, OpenSTA, curl-loader, Spirent Avalanche (not free)… Cheers Tom - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[users@httpd] Rewrite rules working properly in the htaccess but no in the virtualhost
Hello, Im 'having problems with the following rewrite rules. If I put this rewrite rules on the .htaccess in the document root of the virtual hosts, the rules work properly showing a robots.txt if the user don't has one. But when I try to put the rules in the virtualhost it looks like I can't redirect to the Alias ServerAdmin hostmas...@server.tld DocumentRoot /home/xx.com/web ServerName xx.com DirectoryIndex index.html index.php index.htm #This is the standard robots.txt ww what to have all the virtualhosts Alias /robots-123456789.txt /tmp/robots2.txt RewriteEngine On RewriteCond %{IS_SUBREQ} false #It redirect to our robots.txt (defined previously with the alias) if the user don't has a robots.txt i their home directory RewriteCond %{DOCUMENT_ROOT}/robots.txt !-f RewriteRule robots.txt$ /robots-123456789.txt rewrite debug in virtualhost: 192.168.0.01 - - [19/Oct/2011:09:47:12 +0200] [www.xx.org/sid#7f12ade87e00][rid#7f12ae133640/initial] (2) init rewrite engine with requested uri /robots.txt 192.168.0.01 - - [19/Oct/2011:09:47:12 +0200] [www.xx.org/sid#7f12ade87e00][rid#7f12ae133640/initial] (3) applying pattern '.*robots\.txt$' to uri '/robots.txt' 192.168.0.01 - - [19/Oct/2011:09:47:12 +0200] [www.xx.org/sid#7f12ade87e00][rid#7f12ae133640/initial] (2) rewrite '/robots.txt' -> '/robots-123456789.txt' 192.168.0.01- - [19/Oct/2011:09:47:12 +0200] [www.xx.org/sid#7f12ade87e00][rid#7f12ae133640/initial] (2) local path result: /robots-123456789.txt 192.168.0.01 - - [19/Oct/2011:09:47:12 +0200] [www.xx.org/sid#7f12ade87e00][rid#7f12ae133640/initial] (2) prefixed with document_root to /home/frikadas.org/web/robots-123456789.txt 192.168.0.01 - - [19/Oct/2011:09:47:12 +0200] [www.xx.org/sid#7f12ade87e00][rid#7f12ae133640/initial] (1) go-ahead with /home/frikadas.org/web/robots-123456789.txt [OK] rewrite debug in .htaccess 192.168.0.01 - - [19/Oct/2011:09:44:37 +0200] [www.xx.org/sid#7fcb16a4fe00][rid#7fcb16cfb530/initial] (2) init rewrite engine with requested uri /robots.txt 192.168.0.01- - [19/Oct/2011:09:44:37 +0200] [www.xx.org/sid#7fcb16a4fe00][rid#7fcb16cfb530/initial] (1) pass through /robots.txt 192.168.0.01 - - [19/Oct/2011:09:44:37 +0200] [www.xx.org/sid#7fcb16a4fe00][rid#7fcb16cfb530/initial] (3) [perdir /home/frikadas.org/web/] strip per-dir prefix: /home/frikadas.org/web/robots.txt -> robots.txt 192.168.0.01 - - [19/Oct/2011:09:44:37 +0200] [www.xx.org/sid#7fcb16a4fe00][rid#7fcb16cfb530/initial] (3) [perdir /home/frikadas.org/web/] applying pattern '.*robots\.txt$' to uri 'robots.txt' 192.168.0.01 - - [19/Oct/2011:09:44:37 +0200] [www.xx.org/sid#7fcb16a4fe00][rid#7fcb16cfb530/initial] (2) [perdir /home/frikadas.org/web/] rewrite 'robots.txt' -> '/robots-123456789.txt' 192.168.0.01 - - [19/Oct/2011:09:44:37 +0200] [www.xx.org/sid#7fcb16a4fe00][rid#7fcb16cfb530/initial] (1) [perdir /home/frikadas.org/web/] internal redirect with /robots-123456789.txt [INTERNAL REDIRECT] 192.168.0.01 - - [19/Oct/2011:09:44:37 +0200] [www.xx.org/sid#7fcb16a4fe00][rid#7fcb16d00ba0/initial/redir#1] (2) init rewrite engine with requested uri /robots-123456789.txt 192.168.0.01 - - [19/Oct/2011:09:44:37 +0200] [www.xx.org/sid#7fcb16a4fe00][rid#7fcb16d00ba0/initial/redir#1] (1) pass through /robots-123456789.txt It apears that in the .htacces file apache is able to redirect to the alias but in the virtualhost it apears that it can't redirect to it! I tested it in: Linux Server Version: Apache/2.2.16 (Debian) PHP/5.3.3-7+squeeze3 with Suhosin-Patch Server Built: Sep 29 2011 20:59:05 and in: FreeBSD 6.3-RELEASE-p3 apache-2.0.63_3 Server Built: Mar 2 2010 02:19:12 My qüestion is, what I have to do to get it working in the virtualhost ? Thanks!