Welcome to the Monastery | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
It's been long time since I've seen anyone running without suEXEC, specially on a shared host. I think you're doing just fine. If you want to know where the script is currently stored/running from you can use $ENV{SCRIPT_FILENAME} for Apache or $ENV{PATH_TRANSLATED} for IIS. If you want to get the http url you can get it like this my $URL = 'http://' . $ENV{HTTP_HOST} . $ENV{SCRIPT_NAME}; for both web servers. You may want to take a look at the environment variables and test it out to see what works best for you.
In reply to Re: web-based installer wanderings
by ahmad
|
|