#1  
Old 17th March 2012, 00:58
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,158
Thanks: 4
Thanked 58 Times in 54 Posts
Default Subdomain redirect bug?

Hi there

I'm trying to redirect the subdomain "images" to the "images" folder in the default domain.

For that I did set:

Host: images
Domain: sjau.ch
Redirect Type: No flag
Redirect Path: /var/www/sjau.ch/web/images/
Activ: y


Now when I try to call it I get this error:


[Fri Mar 16 23:54:41 2012] [error] [client 84.227.27.123] SoftException in Application.cpp:221: File "/var/www/clients/client1/web2//web/images/gallery.php" is not in document root of Vhost "/var/www/clients/client1/web2/web"
[Fri Mar 16 23:54:41 2012] [error] [client 84.227.27.123] Premature end of script headers: gallery.php
[Fri Mar 16 23:54:41 2012] [error] [client 84.227.27.123] File does not exist: /var/www/sjau.ch/web/images/error


However when I change the Redirect Path to "/var/www/clients/client1/web2/web/images/" it works.

Basically: When using the symlinked "domain name" path it does not. When I use the "normal full" path it works. In my opinion it should work both ways.
__________________
"Common sense is not as common as commonly believed" by sjau

Auto-Install Script for ISPConfig and Horde on a Vanilla Debian Stable

Need more Repos for Ubuntu? Repository Generator
Need more Repos for Debian? Debian Repository Generator
Reply With Quote
Sponsored Links
  #2  
Old 19th March 2012, 09:28
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts
Default

Quote:
Basically: When using the symlinked "domain name" path it does not. When I use the "normal full" path it works. In my opinion it should work both ways.
This would require to extend the apache apache c code so that apache allows it to specify more then one path for the docroot in a vhost.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 19th March 2012, 09:31
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,158
Thanks: 4
Thanked 58 Times in 54 Posts
 
Default

Thanks for the reply.
__________________
"Common sense is not as common as commonly believed" by sjau

Auto-Install Script for ISPConfig and Horde on a Vanilla Debian Stable

Need more Repos for Ubuntu? Repository Generator
Need more Repos for Debian? Debian Repository Generator
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
add new subdomain with redirect type L fails when redirect path is /home/ finn Installation/Configuration 7 22nd August 2010 10:42
How Subdomain works (for documentation) moglia Developers' Forum 7 19th June 2010 23:14
How to force https with redirect subdomain binaryrogue General 3 13th March 2010 03:55
Subdomain redirect to script as argument cooljai Server Operation 0 12th June 2007 17:41
Some bug in subdomain redirect (forward) MvincM Installation/Configuration 2 31st October 2006 11:16


All times are GMT +2. The time now is 02:01.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.