Previous Thread
Next Thread
Print Thread
Rate Thread
#179158 09/20/2002 3:26 PM
Joined: Dec 2001
Posts: 57
Member
Member
Offline
Joined: Dec 2001
Posts: 57
Hi, I was reading the article on using your wn PC for a server.

I ran the hello.cgi script, after failing to actually do the hello.pl script (XP goes C:/>My Documents etc, I can't get it to go C:/>) and when trying to run the hello.cgi script at http://127.0.0.1/hello.cgi I get:

Forbidden
You don't have permission to access /hello.cgi on this server.

--------------------------------------------------------------------------------

Apache/1.3.26 Server at 127.0.0.1

How do I fix this? I've tested vB's on php triad before, but have now moved onto ubb, so I really need to be able to run cgi's so I can develop my own forums.

Any help is greatly appreciated.

C.

Sponsored Links
#179159 09/20/2002 4:14 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
By default, Apache only allows script execution in the cgi-bin directory.


UBB.classic: Love it or hate it, it was mine.
#179160 09/20/2002 4:20 PM
Joined: Dec 2001
Posts: 57
Member
Member
Offline
Joined: Dec 2001
Posts: 57
Thanks for the quick reply, but I really am not very good at using scripts etc. So, bear with me.

To run something in the cgi-bin, would I have to enter:

http://127.0.0.1/cgi-bin/hello.cgi?
http://localhost/cgi-bin/hello.cgi?

Sorry if I sound like a pain, like I said, I'm not 'clued-up' on these things.

#179161 09/21/2002 9:34 AM
Joined: Dec 2001
Posts: 57
Member
Member
Offline
Joined: Dec 2001
Posts: 57
Sorry, can I bump this? Or is it against the rules?

Well I have....and if it is against the rules, let me know, thanks....

#179162 09/21/2002 2:37 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
Question for ya... why did you just try before asking? smile

Both of those should work.


UBB.classic: Love it or hate it, it was mine.
Sponsored Links
#179163 09/21/2002 5:37 PM
Joined: Dec 2001
Posts: 57
Member
Member
Offline
Joined: Dec 2001
Posts: 57
Well I did try, but they didn't work, so I was checking to see if they WERE the paths. Still, when I try them , they still say Forbidden.

The only 2 things I can see I've done wrong are:

1. On the Activeperl installation, I did not install to C:/usr etc. It installed itself to C:/perl, and I couldn;t choose where to install it.

The command prompts I could not do (also on page 2) because my XP comes up :

C:/Documents and settings/Andrew/My Documents> etc, and in Matt Jacob's he has C:/>, I can't change it to that.

Sorry if I sound stupid, but I pretty much am frown .


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)