Your browser does not seem to support CSS. If images appear below, please disregard them.
toggle
May
S M T W T F S
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
Sponsored Links
Latest Postings
Topic Options
Rate This Topic
#19234 - 03/24/02 08:55 AM Webhosting
Joined: Mar 2002
Posts: 815
sinetific Offline
nobody
sinetific Offline
nobody

Joined: Mar 2002
Posts: 815
Ann Arbor
Im trying to host my own webpage from my computer using apache on linux and I have a question about cgi-bin. Can I create a cgi-bin anywhere in my /httpd dir? because the current one is a directory below the root directory (index.hmtl) of my current page so to link to it i would need to go backwards. I was thinking about putting in the full path but it didnt work for images so I doubt it would work for cgi. any ideas?

Top
Sponsored Links
#19235 - 03/24/02 10:28 AM Re: Webhosting
Joined: Feb 2002
Posts: 7,194
Gremelin Offline
Community Owner
Gremelin Offline

Community Owner

Joined: Feb 2002
Posts: 7,194
Portland, OR; USA
if you're using apache it will have set a symbolic link. from the web it will show as host.xxx/cgi-bin but for you via ftp or browse it'll show as below your httpd


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
Top
#19236 - 03/24/02 03:48 PM Re: Webhosting
Joined: Mar 2002
Posts: 1,273
SilentRage Offline
DollarDNS Owner
SilentRage Offline
DollarDNS Owner

Joined: Mar 2002
Posts: 1,273
OH, USA
Configuration files are good, and you should read them.

In your configuration file you'll find a section for the mod_alias module. This module sets up aliases for your webserver. You'll find several including cgi-bin. Modify to your likings.


ScriptAlias /Displayed/ "C:/Example/"


AllowOverride None
Options None
Order allow,deny
Allow from all


http://www.domain.com/Displayed/
is the same location as:
C:\Example\


Domain Registration, Hosting, Management
http://www.dollardns.net
Top

Member Spotlight
Gremelin

Gremelin
Portland, OR; USA
Posts: 7,194
Joined: February 2002
Show All Member Profiles 
Forum Statistics
Forums46
Topics45,730
Posts80,898
Members2,157
Most Online1,567
Apr 25th, 2010
Top Posters(All Time)
UGN Security 38,893
Gremelin 7,194
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Newest Members
Herbert_Sherbert, codemauve, Lillysdragon1984, Brewwit, boa
2157 Registered Users
Who's Online Now
1 registered members (Cyrez), 3 guests and 1 spider.
Latest News