Forum Moderators: phranque

Message Too Old, No Replies

Using Aliases in httpd.conf

         

ntbgl

1:38 am on Jul 20, 2009 (gmt 0)

10+ Year Member



I'm installing a program, and one of the steps is to insert into my httpd.conf file this line:

Alias /folder /usr/public/x/folder/index.php

My only concern is that I'm going to have multiple installations of this software, which would require me to put similar lines in multiple times:

Alias /folder /usr/public/x/folder/index.php
Alias /folder /usr/public/y/folder/index.php
Alias /folder /usr/public/z/folder/index.php

I'm new to modifying the httpd.conf file, it seems similar to my .htaccess file. I'm making some type of rewrite rule, and if it were my .htaccess file, I'd be concerned that the /folder folder was pointing to 3 different places.

Should I be concerned?

jdMorgan

2:43 am on Jul 20, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, because "/folder" cannot "point to 3 different places" -- It will point only to the last "place" you define.

I'd suggest you look at the program documentation or contact their support for information about proper multi-user installation.

Jim