I hope someone can help me out of a confusing situation.
I have scripts in two directories:
/var/usr/regert/cgi-bin
/home/regert/cgi-bin
I have a Script Alias in my apache config file that maps the url
www.regert.com/regert to the /var/usr/regert/cgi-bin directory so that an address lile
www.regert.com/myscript.pl executes.
If myscript.pl needs to create a link to a script in /home/regert/cgi-bin eg
<a href='/home/regert/cgi-bin/my.other.script.pl">
it fails because apache tries to get
/var/usr/regert/cgi-bin/home/regert/cgi-bin/my.other.script.pl
ie it prepends the base address to the new URL.
Is there a way to tell apache to use an absolute address and not prepend the extra path information ?
Thanks
Bob
I have scripts in two directories:
/var/usr/regert/cgi-bin
/home/regert/cgi-bin
I have a Script Alias in my apache config file that maps the url
www.regert.com/regert to the /var/usr/regert/cgi-bin directory so that an address lile
www.regert.com/myscript.pl executes.
If myscript.pl needs to create a link to a script in /home/regert/cgi-bin eg
<a href='/home/regert/cgi-bin/my.other.script.pl">
it fails because apache tries to get
/var/usr/regert/cgi-bin/home/regert/cgi-bin/my.other.script.pl
ie it prepends the base address to the new URL.
Is there a way to tell apache to use an absolute address and not prepend the extra path information ?
Thanks
Bob