Mallik wrote:

>Dear Friends,
>
>In Apache, the /usr/local/fsuser/sbin directory is mapped to the
>virtual directory http://192.168.0.10/fsuser/cgi-bin/.
>
>>From browser, I am able to access all the .cgi and .pl files
>present in the /usr/local/fsuser/sbin and its subdirectories.
>
>But I am not able to access the html files present in this
>directory. When I am giving the following URL it is giving the
>Premature end of script error.
>
>http://192.168.0.10/fsuser/cgi-bin/help.htm.
>
>Whereas, I am able to access the same html with the following URL.
>
>http://192.168.0.10/help.htm.
>
>
>How can I access the html file with the URL
>http://192.168.0.10/fsuser/cgi-bin/help.htm
>
Once you set up a certain directory to as a ScriptAlias, Apache will treats files 
within that directory as executables. Try allowing ExecCGI for that directory instead.

- Jan
-- 
Hanlon's Razor: Never attribute to malice that which can be adequately explained by 
stupidity.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to