Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 7th July 2009, 19:50
gdbaldw gdbaldw is offline
Junior Member
 
Join Date: Jul 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Perfect Debian w/ISPConfig 3 -- Apache Directives

Hello All (and mostly Till),

Thanks. Great stuff. Hope to rapidly climb the learning curve.

After following exacly the tutorial, all is well including squirrelmail. Created web domain, web page, works great. Then, tried accessing squirrelmail (i.e. www.domain.com/webmail) and got 404 error. So, found a work around. Added this directive to the domain.

Redirect /webmail http://server.com/webmail

Ok, that works great too. But, would prefer to not redirect from domain.com to server.com

The following directives would seem to work, and they do for squirrelmail. But, with these directives the webpage for http://www.domain.com seems to be disabled and instead points to www.server.com.

Alias /webmail /www/var/webmail/
<Directory /var/www/webmail/>
AddType application/x-httpd-php .php
</Directory>

Funny, when I disable the virtual webpage through ISPConfig, www.domain.com/webmail works great again.

So, I'm puzzeled as to why these Alias and Directory directives would disable my virtual webpage, and why I cannot easily have both www.domain.com and www.domain.com/webmail play nice together.

Probably my ignorance regarding Apache and Directives, but thought I ask here dor some guidance.

Thanks,
Doug
Reply With Quote
Sponsored Links
  #2  
Old 8th July 2009, 14:23
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

I think you can try rewrite rules to achieve this. See http://httpd.apache.org/docs/2.2/rew...ite_guide.html
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Tags
debian lenny, ispconfig 3

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
[debian 5 + ispconfig 3] Unable to send mail tanakskool HOWTO-Related Questions 6 4th November 2009 18:20
problems with suexec gobokster Installation/Configuration 7 7th May 2009 13:33
Howtoforge the perfect Server(links) rini90 Installation/Configuration 0 14th December 2008 10:58
Bind Failed christoph2k HOWTO-Related Questions 4 28th April 2007 00:57
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 14:42


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


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