Don't ask to ask, just ask | |
PerlMonks |
Re: web-based installer wanderingsby ahmad (Hermit) |
on Jul 19, 2010 at 20:47 UTC ( [id://850325]=note: 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 Section
Seekers of Perl Wisdom
|
|