Link to home
Start Free TrialLog in
Avatar of jjc_mn
jjc_mn

asked on

Where is this set in the Apache HTTP Server Version 1.3 ?

From a browser (don't worry about DNS)

http://123.456.789.111:8888/dir1/info.html

translates to "/usr/local/user1/www/info.html" on the machine itself

the webpage info.html now has to reside in /usr/local/user2/www/info.html

where is the "dir1" part set so I can point it to the new directory"?

A grep of /etc/apache does not find "dir1" in any of the files in that directory (files listed below in case I'm missing something)
httpd.conf-example
zone.properties
srm.conf
mime.types
magic
jserv.properties
jserv.conf
access.conf
httpd.conf
httpd.conf.12.13.06


Avatar of jjc_mn
jjc_mn

ASKER

Plot thickens.... Adding the following below in httpd.conf givces me the fix I originally requested however I still don't know how it was doing the redirection before....??? Does anybody know how else redirection can be done?

    Alias /dir1/ "/usr/local/user2/www/"

    <Directory "/usr/local/user2/www">
        Options Indexes FollowSymlinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from a
Isn't dir1 an existing directory in your webserver root which has a .htaccess file in it with a mod_rewrite directive in it?
> where is the "dir1" part set so I can point it to the new directory"?
DocumentRoot directive in httpd.conf
and/or see jjc_mn's suggestion
Avatar of jjc_mn

ASKER


jjc_mn is the author of this question. I found "a" solution to my problem so I'm happy gut I still have no idea how the previous tech configured Apache to read html pages from a directory on the box WITHOUT modifiying the httpd.conf, or at least not using the word dir1 anywhere in httpd.conf.  At least not that I can see.
Avatar of jjc_mn

ASKER

>Isn't dir1 an existing directory in your webserver root which has a .htaccess file in it with a mod_rewrite directive in it?

No, not in same path as webserver root. No ".htaccess" file even on my machine
Avatar of jjc_mn

ASKER

It was set in a soft link
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial