Your browser does not seem to support CSS. If images appear below, please disregard them.
It appears that you're running an Ad-Blocker. This site is monetized by Advertising and by ">User Donations; we ask that if you find this site helpful that you whitelist us in your Ad-Blocker, or make a ">Donation to help aid in operating costs.
Previous Thread
Next Thread
Print Thread
Rate This Thread
#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?

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

Community Owner

Joined: Feb 2002
Posts: 7,202
Likes: 11
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
#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.

<IfModule mod_alias.c>
ScriptAlias /Displayed/ "C:/Example/"

<Directory "C:/Example/">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
</IfModule>
http://www.domain.com/Displayed/
is the same location as:
C:\Example\


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

Member Spotlight
mtlhd
mtlhd
Los Angeles,CA
Posts: 70
Joined: May 2002
Show All Member Profiles 
Forum Statistics
Forums45
Topics34,149
Posts69,299
Members2,166
Average Daily Posts2
Members2,166
Most Online1,567
Apr 25th, 2010
Latest Postings
The History Thread...
by Gremelin on 08/11/17 07:11 PM
my old account still exists!
by Gremelin on 08/11/17 07:02 PM
My friend NEEDS your HELP!
by Lena01 on 07/21/17 07:06 AM
I'm having fun with this guy.
by gabithompson730 on 07/20/17 08:50 AM
I want to upgrade my phone
by gabithompson730 on 07/20/17 08:49 AM
Newbie here
by gabithompson730 on 07/20/17 08:46 AM
Blackbeard.....
by Gremelin on 01/14/17 07:03 PM
Top Posters(All Time)
UGN Security 41,382
Gremelin 7,202
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Liked Users (All Time)
§intå× Likes: 3
Black Beard Likes: 1
Cold Sunn Likes: 1
Crime Likes: 1
Cyrez Likes: 1
fleshwound Likes: 1
Ghost Likes: 2
Gremelin Likes: 12
Ice Likes: 1
ninjaneo Likes: 1
Top Liked Users (30 Days)
No Data Found
Powered by UBB.threads™ PHP Forum Software 7.6.0
(Snapshot build 20170206)