Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Apache & Httpd.config

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Apache & httpd.config  
Author Message
gerdes

External


Since: May 27, 2004
Posts: 3



(Msg. 1) Posted: Thu May 27, 2004 8:32 pm
Post subject: Apache & Httpd.config
Archived from groups: alt>apache>configuration (more info?)

Hello,

I ran my Apache 2.0.48 Server on my local PC under Win98.

Apache is installed as C:/Apache/Apache2/..
Perl (Active State 5.Cool is installed as c:/Perl/...

My HTML docs are under C:/EigeneDateien/EigeneWebs/TEST_WEB1/
I want to install PERL scripts within a subfolder of the test webs, e.g
C:/EigeneDateien/EigeneWebs/TEST_WEB1/cgi-bin/

To achive this, I modified the Apache HTTPD.CONFIG file.
THE PROBLEM IS: When I start the perl scrips, they browser intends to
OPEN or to save the file instead of execute it.
What is wrong with my configuration?
Is there somebody that can help me?
Best regards Torsten


Change No 1:
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
#DocumentRoot "C:/Apache/Apache2/htdocs"
DocumentRoot "C:/EigeneDateien/EigeneWebs" <<-my modification

Change No 2:
# 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/ "C:/Apache/Apache2/cgi-bin/"
ScriptAlias /cgi-bin/ "C:/EigeneDateien/EigeneWebs/" <<<<-----!


#
# "C:/Apache/Apache2/cgi-bin" should be changed to whatever your
ScriptAliased
# CGI directory exists, if you have that configured.
#
#<Directory "C:/Apache/Apache2/cgi-bin">
<Directory "C:/EigeneDateien/EigeneWebs/cgi-bin"> <-----!
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>


Complete configuration file is here: http://www.tgi.de/robinson/httpd.conf

 >> Stay informed about: Apache & Httpd.config 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Apache & httpd.config - Hello, I ran my Apache 2.0.48 Server on my local PC under Win98. Apache is installed as C:/Apache/Apache2/.. Perl (Active State 5.8) is installed as c:/Perl/... My HTML docs are under C:/EigeneDateien/EigeneWebs/TEST_WEB1/ I want to install PERL..

apache vs httpd?? - hi all, I'm using RH 8. I'm quite confused with the difference between apache and httpd. In my system I have httpd installed as an RPM but there is no apache. I have apachectl for starting and stopping the httpd. So is apache installed in my system? I'v...

Apache and httpd - I have set up "httpd" to be started by "xinetd", but unless some instances of "httpd" are already running on the Linux box, I can *not* load a web page from across the internet. Why is "xinetd" *not* starting those...

How to add mod_so to Apache 1.3 httpd - It's in my /usr/local/apache/D/src/modules/standard directory. It was compiled, but do I need to compile in my /usr/local/apache directory? is there a conf file where i need to add mod_so? I'm new to compiling Apache, and don't know where to begin.

SSL/PHP/Apache 2.0.40 on RH9 -- httpd hangs - I'm setting up Mambo (CMS), and I've never used ssl or Apache 2.x until now. I admit I've taken the lazy route by patching together rpm's rather than compiling, but perhaps someone will have the solution off their cuff. If anyone can point me to a set of...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]