Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Alias override?

Status
Not open for further replies.

RandyRiegel

Programmer
Joined
Sep 29, 2003
Messages
256
Location
US
I have an installation of qmail admin which I have setup so that users can get to it by whatever domain they are using. Example: domain1.com/cgi-bin/qmailadmin and domain2.com/cgi-bin/qmailadmin both point to the same place. I have done this by leaving ScriptAlias cgi-bin set to /var/ which is where qmailadmin is located. I also had to alias the directory where qmailadmin keeps it's images (/var/ I have the following in my httpd.conf file:

Alias /images/ "/var/
If I don't have this none of the graphics appear in my qmailadmin interface.

Ok, now when I go to my virtual domain for my sqirrelmail install the graphics on it do not show up because the /images/ directory is pointing to /var/ and not seeing the actual image directory?

I guess what I'm asking is can I use alias for certain domains and not others. For my virtual domain (webmail.mydomain.com) I'd like to turn this /images/ alias off but want it to work on all others.

Randy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top