|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
|
|
#1
|
|||
|
|||
|
Hello,
I've got a small and probably very simple problem. The web server is not configured to do this. I'm currently writing a database front end cgi for the companies intranet site, and have hit a small obstical. I'm writting in python and due to security settings the cgi-bin cannot be accessed by the form action tag. I have been told that to get around this I need to specify a path in the script, but I am at a loss how to do this. Any help would be a great help Cheers |
|
#2
|
|||
|
|||
|
>> due to security settings the cgi-bin cannot be accessed by the form action tag
What setting? What did you try? And what error? >> to get around this I need to specify a path in the script How does your current form tag look like? Where is the form page located? Is it within your script or on an html page? Do you have write access to httpd.conf? DO NOT use stupid subject as A quick fix. Use something like cgi-bin access denied. >> and probably very simple problem DO NOT answer for us. We will decide whether it's simple. |
|
#3
|
|||
|
|||
|
Here's the thing then. At the moment the action tag is on the form page which is in a subdirectory of htdocs.
The cgi is in a subdirectory of cgi-bin. the action tag path is correct and the only message that is generated is page not found, which sounds like a path problem, but it's not. I have spoken to my manager about this and as I said before he said it's a security problem, and I need to specify within the script how I want to access the cgi-bin. I know this isn't especially clear, but it's everything that I know about the situation. p.s. freebsd you need to relax a bit, I'm sorry that my post wasn't precise enough for you, but there's no need to get your knickers in a twist, at the end of the day it's my problem, not yours, but thanks for the advice ; ) |
|
#4
|
|||
|
|||
|
Quote:
freebsd: there's no need for the aggressive tone here. You're obviously dealing with a beginner, and someone who hasn't had a lot of experience using discussion forums... You're better off suggesting improvements the poster could have made rather than issuing demands. It's not constructive and is unlikely to make the person at fault do things 'the right way'. What's wrong with "nickname, I suggest in future that you make your subject headings more descriptive so other users are able see at a glance what your problem is about"? Chris ![]() |
|
#5
|
|||
|
|||
|
>> I know this isn't especially clear, but it's everything that I know about the situation.
Without further details from you, what I can do is guessing. More than likely, your cgi-bin is ScriptAlias'ed. A ScriptAlias'ed cgi-bin cannot have anything (i.e. php script, images, .htaccess, html files, etc) other than true CGI scripts. If your script is trying to write to certain files which also reside under your cgi-bin, then it won't work. >> the only message that is generated is page not found You need to append trailing slash to the path of the ScriptAlias line like so: ScriptAlias /cgi-bin/ "/file/system/path/to/cgi-bin/" >> I'm sorry that my post wasn't precise enough for you Don't be sorry, just don't do it (stupid subject) again. Take a few moment and read thru this thread -> http://forums.devshed.com/showthrea...23918&forumid=5 |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > A quick fix?? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|