View previous topic :: View next topic |
Author |
Message |
goose -
Joined: 17 Sep 2002 Posts: 608 Location: The Land Of OZ! come here toto!
|
Posted: Fri Mar 05, 2004 5:16 pm Post subject: configuring apache for unix/linux with regards to cgi-bin! |
|
|
how does one change the cgi-bin error message 403 forbidden errors so i can access my scripts or scripts in general
is it done in the httpd.conf file ? and if so where?
the scripts im using to test everything works ....work from the commandline, but not through the browser? :(
im sure its something minor! :wink: _________________ living in an armish paradise.....no gates here!
mawuahahaha :) |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Fri Mar 05, 2004 6:07 pm Post subject: |
|
|
this is not Apache , go check the Apache documentation ! |
|
Back to top |
|
 |
goose -
Joined: 17 Sep 2002 Posts: 608 Location: The Land Of OZ! come here toto!
|
Posted: Fri Mar 05, 2004 6:12 pm Post subject: |
|
|
i know its abyss ....but some of us still ask questions about apache here! _________________ living in an armish paradise.....no gates here!
mawuahahaha :) |
|
Back to top |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Fri Mar 05, 2004 6:24 pm Post subject: |
|
|
You probably need to chmod the scripts in the cgi-bin so they are allowed to be executed - this is a question for off topic though, not "General Questions About Abyss Webserver"... |
|
Back to top |
|
 |
goose -
Joined: 17 Sep 2002 Posts: 608 Location: The Land Of OZ! come here toto!
|
Posted: Sat Mar 06, 2004 7:59 am Post subject: |
|
|
hmmm file permissions with chmod ....that would be correct ....also make sure you check the httpd.conf file so that you can run perl and php correctly.
will go and test this once more and find a verdict.
goose out! _________________ living in an armish paradise.....no gates here!
mawuahahaha :) |
|
Back to top |
|
 |
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Sat Mar 06, 2004 9:07 am Post subject: |
|
|
And if all fails, get yourself a copy of good 'ol Abyss.
Remember: You are posting in Abyss lovers' territory, so watch it. _________________ Bienvenidos! |
|
Back to top |
 |
 |
goose -
Joined: 17 Sep 2002 Posts: 608 Location: The Land Of OZ! come here toto!
|
Posted: Sat Mar 06, 2004 9:14 am Post subject: |
|
|
i have abyss
but i must test apache for uni :(
anyway why does perl want to open the .pl file instead of viewing it?
and the same goes for php?
wierd!
php is at this location /usr/local/bin/php
perl is at /usr/local/bin/perl and /usr/bin/perl :roll: _________________ living in an armish paradise.....no gates here!
mawuahahaha :) |
|
Back to top |
|
 |
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Sat Mar 06, 2004 9:16 am Post subject: |
|
|
If perl is set up correctly, AND in the location /usr/bin/perl or /usr/sbin/perl, then it should work. Check to make sure you have it configured correctly in Apache. _________________ Bienvenidos! |
|
Back to top |
 |
 |
goose -
Joined: 17 Sep 2002 Posts: 608 Location: The Land Of OZ! come here toto!
|
Posted: Sat Mar 06, 2004 9:17 am Post subject: |
|
|
here is smething that is also wierd
perl works inside the html file using javascript to call it.
but wont work if i call it from www.goose.com/cgi-bin/test.pl
it just asks if you wish to save it or open it?
crazy :lol: _________________ living in an armish paradise.....no gates here!
mawuahahaha :) |
|
Back to top |
|
 |
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Sat Mar 06, 2004 9:21 am Post subject: |
|
|
It sounds to me that Apache isn't set up to recognize .pl as a perl script. Try renaming it to a .cgi.
Note: is that URL for the pl script yours? I got an error message "HTTP Error 403.2 - Forbidden: Read access is denied" from "Internet Information Services (IIS)." Doesn't sound like Apache to me... _________________ Bienvenidos! |
|
Back to top |
 |
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Sat Mar 06, 2004 8:59 pm Post subject: |
|
|
You should only use another web server besides
abyss if you are sharing log reports , that way
the refereing pages from the log reports aren't shown
in your normal abyss web server logs.
Recommended for users who want AWstats
to not show in their abyss web server logs.
Requirements:
-------------------------------------------------------------------------------------
2 web servers
Abyss Web Server: The one you want log reports from
Apache or another web server: So you can view logs from abyss without
AWstats pages interefering with your abyss web server log files.
-------------------------------------------------------------------------------------
I have an extra web server to track down my abyss log reports so
I don't have any mix ups with those pages going on my abyss server.
http://www.server-logs.tk "Hosted On Apache" Port 85
-------------------------------------------------------------------------------------
You should only use 2 servers if you want to setup AWstats
for Abyss Web Server without having your AWsats pages ending
up in your abyss server log files. Abyss Is my #1 priority to me!
"To Aprelium: Will their be a release that controles what goes into the abyss log files" |
|
Back to top |
|
 |
goose -
Joined: 17 Sep 2002 Posts: 608 Location: The Land Of OZ! come here toto!
|
Posted: Mon Mar 08, 2004 3:04 pm Post subject: |
|
|
www.goose.com/cgi-bin/test.pl was just made up to give an example not the actual address. and yes i get forbidden 403 errors ....under apache to get php and perl working ...but when i chmodded.... its now excuting (meaning asking to download )instead of displaying the page .
more testing be back l8r. _________________ living in an armish paradise.....no gates here!
mawuahahaha :) |
|
Back to top |
|
 |
goose -
Joined: 17 Sep 2002 Posts: 608 Location: The Land Of OZ! come here toto!
|
Posted: Thu Mar 11, 2004 4:17 pm Post subject: |
|
|
here is something interesting ...apache is setup in my student directory.
but the original apache is set by the admin at uni ....meaning php and perl cannot be accessed directly.....they can only be access by the command line only....shame really....oh and also thru java script in a webpage.... mind u my apache doesnt have the php module either.
:roll:
doesnt matter php and perl werent really need for the assessment hehe :lol:
just interesting to see how it works :wink:
apache isnt that hard to install either had mine up in about 10 mins 8) _________________ living in an armish paradise.....no gates here!
mawuahahaha :) |
|
Back to top |
|
 |
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Fri Mar 12, 2004 1:56 am Post subject: |
|
|
goose wrote: | apache isnt that hard to install either had mine up in about 10 mins |
Yes, but didn't you say it didn't have PHP support?
I've used Apache also, but I was never able to configure PHP; nor set up virtual hosting. Which is the reason I look forward to the easy-to-use GUI of Abyss. _________________ Bienvenidos! |
|
Back to top |
 |
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Fri Mar 12, 2004 5:29 am Post subject: |
|
|
Apache comes with a special module I think that allows you to run PHP
not to mention , I have gotten PHP to run on Apache many times without
any problems , can we stop this thread now. Look on google.com for help ! |
|
Back to top |
|
 |
|