trying to publish....getting server error

A

Andrew Murray

1) I'm trying to publish to server via http:// using FP2002 - 2002 extensions are
enabled on server (and it's a Windows server).

2) I can't get any (published) cgi/perl files to be executed, I keep getting
various server errors like 404 (file not found), 403 (denied access) etc even
though the files are definitely there.

try www.southern.perth.anglican.org/cgi-bin/test/tester.cgi

also try www.southern.perth.anglican.org/search_test.htm - the page uses the web
search component but when you click submit, says the _derived/northbots.htm
couldn't be found.

It's my first time in a long time using the publish feature as I usually use FP
to develop sites but upload using normal FTP programs (non-Frontpage extension
hosted servers), however this site is on a FP enabled server so I thought I'd
take advantage of that fact.

The domain is http://www.southern.perth.anglican.org which is hosted by
www.arach.net.au

One message I receive is (among others)

"Server Error - the folder /cgi-bin/<folder name> is marked executable. You are
not allowed to put files in an executable folder on this server."

Note, I'm more used to using Unix servers not Windows, so how does a Windows
server handle cgi/perl? Does it treat file permissions (like Unix) with
equivalents of chmod 666 or 755 or does it just ignore these (if permissions are
actually able to be set at all - depending on the configuration?) anything like
Unix? with read, write execute etc?

Like if a perl script on a Unix server needs permissions of 666 for certain
components of the program (modules and so on) one file and 755 for the
executables (.pl, .cgi) another, how do you tell a Windows server to treat the
files in the equivalent way as with a Unix server?

If I am using Frontpage and the extension features does this mean I can't run
thirdparty perl/cgi scripts?

In the right-click properties attributes for the folders the box "allow scripts
to be run" is able to be ticked but "allow programs to be run" is greyed out. Is
perl script (in the context of frontpage and allowing scripts to run) considered
a "program" or a "script"

Perhaps in this case "script"t means "javascript" or "vbscript" ? rather than
php or cgi/perl for instance.

I hope this makes some sense..... ;-)

thank you.

--
A.D.Murray
Remove NOSPAM or SPAM BUSTER to reply

--
Andrew Murray
Webmaster
Southern Region
Email: (e-mail address removed)
Web: http://www.murraywebdesign.shorturl.com
 
S

Steve Easton

You need to have the host set the server to
allow executable scripts to be run.
Script execution is normally off by default.

Also, some hosting companies won't allow executables.
 
R

Ronx

See inline

--
Ron

Reply only to group - all emails will be deleted unread.


Andrew Murray said:
1) I'm trying to publish to server via http:// using FP2002 - 2002 extensions are
enabled on server (and it's a Windows server).

2) I can't get any (published) cgi/perl files to be executed, I keep getting
various server errors like 404 (file not found), 403 (denied access) etc even
though the files are definitely there.

try www.southern.perth.anglican.org/cgi-bin/test/tester.cgi
I also get 404 error on the page.
also try www.southern.perth.anglican.org/search_test.htm - the page uses the web
search component but when you click submit, says the _derived/northbots.htm
couldn't be found.

nortbots.htm is used to display a long error message about using a FrontPage
form on a server with no FPextensions, or in a disc based web.

Its use on a live website often means the FP form was FTPd, or published
using FTP, from a disc-based web, instead of published using HTTP://, or
the webserver does not have FP extensions installed and working.

It's my first time in a long time using the publish feature as I usually use FP
to develop sites but upload using normal FTP programs (non-Frontpage extension
hosted servers), however this site is on a FP enabled server so I thought I'd
take advantage of that fact.

The domain is http://www.southern.perth.anglican.org which is hosted by
www.arach.net.au

One message I receive is (among others)

"Server Error - the folder /cgi-bin/<folder name> is marked executable. You are
not allowed to put files in an executable folder on this server."

This explains the 404 errors. You cannot publish any files to a folder
marked as executable. Have your host change the setting in IIS to "Scripts
Only". It's probably set to Scripts and executables.
Note, I'm more used to using Unix servers not Windows, so how does a Windows
server handle cgi/perl? Does it treat file permissions (like Unix) with
equivalents of chmod 666 or 755 or does it just ignore these (if permissions are
actually able to be set at all - depending on the configuration?) anything like
Unix? with read, write execute etc?

IIS uses the permissions set on the folder, the files do not need anything
special.
Like if a perl script on a Unix server needs permissions of 666 for certain
components of the program (modules and so on) one file and 755 for the
executables (.pl, .cgi) another, how do you tell a Windows server to treat the
files in the equivalent way as with a Unix server?
You don't need to do anything.
If I am using Frontpage and the extension features does this mean I can't run
thirdparty perl/cgi scripts?

I run perl scripts with no problems on IIS 6 and IIS5.1
In the right-click properties attributes for the folders the box "allow scripts
to be run" is able to be ticked but "allow programs to be run" is greyed out. Is
perl script (in the context of frontpage and allowing scripts to run) considered
a "program" or a "script"

Script. An executable is a .exe, .com, .dll etc.
Perhaps in this case "script"t means "javascript" or "vbscript" ? rather than
php or cgi/perl for instance.

Script includes perl scripts, php, asp
 
A

Andrew Murray

Interesting - so does that mean "executable as in "exe" files like CGI scripts
written in C++ and compiled or includes CGI Perl (like written in Notepad)
scripts - which are server-side (interpreted by Perl interpreter on the server)
scripts but are just basically text files (viewable in Notepad)....

My host apparently does allow perl/cgi but this site is on a windows server so
does that present a different situation?

Also is the functionallity of Frontpage extensions actually considered a form of
Common Gateway Interface (CGI) scripts - that is basically what they are? Such as
the form handler, uploader, search module, database/ASP and so on.



Thanks for the reply.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top