logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: cgi-bin scripts
Author
182x



Joined: 21 Jun 2007
Posts: 1

PostPosted: Thu 21 Jun '07 19:57    Post subject: cgi-bin scripts Reply with quote

Hey guys, I am new to apache and i have just installed xampp to develop php scripts using an apache server. I was just wondering can scripts that would normally have to go in the CGI-BIN be placed in the same folder as the PHP and HTML scripts and does apache have a cgi-bin folder?

Thanks.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Sun 24 Jun '07 12:32    Post subject: Reply with quote

I'm not used so mucgh to XAMPP, but you can run cgi scripts inside the normal htdocs folder.
There is a lot of stuff in this forum how to configure Apache that your scripts run in the same folder as PHP and HTML.


In the options from you www root you need to set

ExecCGI

also set a handler like
AddHandler cgi-script .cgi
Back to top


Reply to topic   Topic: cgi-bin scripts View previous topic :: View next topic
Post new topic   Forum Index -> Apache