Fedora Linux Support Community & Resources Center
Sections ›› Home | Forums | Guidelines | Forum Help | Fedora FAQ | Fedora News 

Go Back   FedoraForum.org > Fedora Support > Servers

Servers The place to discuss any Fedora server problems you may have.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2009-11-02, 11:22 PM CST
Lonny's Avatar
Lonny Offline
Registered User
 
Join Date: Nov 2009
Location: Fairbanks, AK
Posts: 6
linuxfedorafirefox
Cool Problem With CGI

Hey everyone, I have yet another problem, I'm sure it's stupid as well hahah but you all seem to be so smart! I can't seem to get the ScriptAlias to work. Here is my httpd.conf part

Code:
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the client.
# The same rules about trailing "/" apply to ScriptAlias directives as to
# Alias.
#
ScriptAlias /cgi-bin/ "/home/lqidskin/html/cgi-bin/"

#
# "/var/www/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/home/lqidskin/html/cgi-bin/">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>
Now I changed the default path as I did for the DocumentRoot. I also have confirmed my cgi-bin is 755, /home/lqidskin/html being my default path in the DocumentRoot variable. Perl works from the command line (I'm testing a hello.cgi) It is also 755

I also tried to change this
Code:
# AddHandler allows you to map certain file extensions to "handlers":
# actions unrelated to filetype. These can be either built into the server
# or added with the Action directive (see below)
#
# To use CGI scripts outside of ScriptAliased directories:
# (You will also need to add "ExecCGI" to the "Options" directive.)
#
AddHandler cgi-script .cgi .pl

#
# For files that include their own HTTP headers:
#
#AddHandler send-as-is asis
I don't understand the (you will need to add ExeCGI to the Options directive...) so I'm sure it's not complete as I can't run the script from firefox. Can any one of you Apache gurus lend a newbie a hand? Perciate it!
Reply With Quote
  #2  
Old 2009-11-03, 10:34 AM CST
Lonny's Avatar
Lonny Offline
Registered User
 
Join Date: Nov 2009
Location: Fairbanks, AK
Posts: 6
linuxfedorafirefox
Nevermind, I got it.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Yiddish

All times are GMT -7. The time now is 06:33 AM CST.

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
Hosting provided by ThePlanet



All trademarks, and forum posts in this site are property of their respective owner(s).

FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact | Founding Members
Designed By Ewdison Then | Powered by vBulletin ©2000-2009, Jelsoft Enterprises Ltd.
FedoraForum is Powered by Open Source Projects and Products
Translated to other languages thanks to NLP-er