[CentOS] html/form newbie: trying to upload a little data to a server

Kenneth Porter shiva at sewingwitch.com
Wed Nov 21 01:26:20 UTC 2007


--On Tuesday, November 20, 2007 5:09 PM -0500 Charles E Campbell Jr 
<charles.e.campbell at nasa.gov> wrote:

> Anyway, here's the form:
>
> <form method="POST" action="mmsrequest">

That says the script is in the same directory as the form. Is your web 
server set up to allow scripts to be executed from the content directory? 
This will be restricted by both httpd.conf (and includes) and by SELinux, 
if enabled.

Which distro? Which version of Apache? What language is the script in?

Can you execute the script from the command line? (Many web script systems 
allow you to debug from the command line with some suitable setup, allowing 
you to test without an actual web server.)



More information about the CentOS mailing list