Re: Error with Html code
- From: nobull67@xxxxxxxxx (Nobull67@xxxxxxxxx)
- Date: 29 May 2007 05:49:18 -0700
On May 29, 5:38 am, almatir...@xxxxxxxxx (Alma) wrote:
I am using apache2 & Gentoo linux. . i have a html upload.html
<HTML>
<HEAD></HEAD>
<BODY>
<FORM METHOD="post" ENCTYPE='multipart/form-data'>
Photo to Upload: <INPUT TYPE="file" NAME="photo">
<br>
Your Email Address: <INPUT TYPE="text" NAME="email_address">
<br><br>
<INPUT TYPE="submit" NAME="Submit" VALUE="Submit Form">
</FORM>
</BODY>
</HTML>
but i am not able to view this html on my browser.
All other html pages are getting displayed.
Its giving me this errors
[Tue May 29 09:40:47 2007] [error] syntax error at /var/www/localhost/
perl/upload.html line 2, near "HEAD>"\nBareword found where operator expected
This means that Apache believes the file upload.html is a Perl script
not a static HTML document.
Your Apache config probably states that _all_ files in /var/www/
localhost/perl/ are to be treated as Perl scripts. You should put the
file elsewhere or change the Apache config so that it determines file-
type by examining suffixes. (How you do this is an Apache issue -
nothing to do with Perl).
.
- References:
- Error with Html code
- From: Alma
- Error with Html code
- Prev by Date: Re: Error with Html code
- Next by Date: Re: Array of Array refs
- Previous by thread: Re: Error with Html code
- Next by thread: Re: Error with Html code
- Index(es):
Relevant Pages
|
|