LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-04-2003, 11:01 AM   #1
calissal
LQ Newbie
 
Registered: Aug 2003
Posts: 8

Rep: Reputation: 0
Unhappy Apache 1.3 Configuration Directives Found


I am using Apache 2 w/mod_perl2 on a redhat 9 box, and when i try to start the service i get error :

Apache 1.3 Configuration Directives Found

Any ideas?
 
Old 09-04-2003, 01:46 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
IT sounds liek you are using an old directive but I couldn't say what it may be without seeing httpd.conf - if it has only just started then what did you add? Can you post httpd.conf
 
Old 09-04-2003, 02:39 PM   #3
calissal
LQ Newbie
 
Registered: Aug 2003
Posts: 8

Original Poster
Rep: Reputation: 0
ok, this is the thing, i am trying to install a program called netreg for our univeristy. anyway, the directions give me the lines i need to add to the httpd.conf file and they are for apache 1.3, so i either need to get rid of mod_perl2 and apache 2 and go back to apache 1.3 and mod_perl1 or figure out how to make the commands work w/2... if you can follow what i am trying to explain... anyway, this is what they tell me to add..

http://www.net.cmu.edu/netreg/manual/003.html


apache w/out mod_perl

DocumentRoot /home/netreg/htdocs
...
<Directory "/home/netreg/htdocs">
Options FollowSymLinks ExecCGI

AllowOverride none
Order allow,deny
Allow from all
</Directory>

<Directory "/home/netreg/htdocs/bin">
Options FollowSymLinks ExecCGI

SSLRequireSSL

AuthType Basic
AuthName NetReg/NetMon
[[ other auth options, like AuthUserFile, require, etc. ]]
AllowOverride none
Order allow,deny
Allow from all
</Directory>
...
DirectoryIndex index.pl index.html

apache w/mod perl

Assuming mod_perl is installed with Apache, you should already have:
LoadModule perl_module libexec/libperl.so
AddModule mod_perl.c

Add an appropriate PerlRequire to pre-load various libraries. Substitute $NRHOME appropriately:
PerlRequire $NRHOME/lib/startup.pl
Add the Perl InitHandler:
PerlInitHandler Apache::StatINC
Setup the perl script handler (from the basic config, remove the AddHandler cgi-script .pl):
<Files ~ "\.pl">
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
</Files>

ok, now i was told to do the directions as if we didn't have mod_perl first to make sure we could make everything work, and it did... now i am just trying to add the lines your supposed to use if you do have mod perl... that is when i get this error.. Apache 1.3 configuration directives found...

any help would be greatly appreciated!!!

Thanks so much

 
Old 09-04-2003, 03:10 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Sice the docs say that it hasn't been tested with Apache 2 then maybe you will need to modify it - try reading this:
http://perl.apache.org/docs/2.0/user...g/porting.html

If you aren;t going to use the application very labor intensively hten you may not really nee dto run it under more_perl unless you have a reason to.
 
Old 09-08-2003, 08:47 AM   #5
calissal
LQ Newbie
 
Registered: Aug 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Ok, this is what i have done...

i tried to remove apache2 and mod_perl2 and reinstall 1.3.28.. now, i try to start the apache server i still get the same error... Configuration Directives Found... so i am wondering if there is any way to get the standard httpd.conf file back so i can just start over.... and i am wondering what the proper procedure is to removing apache2 and mod_perl2.. what i did was rpm -e module name - this took it away from the list but i just want to make sure its gone... completely!!

thanks again for all your help!!

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
about some directives used in c wangjinyi Programming 1 11-22-2005 06:16 AM
Apache ReWriteRule, ProxyPassReverse, and Allow From directives yakkerty Linux - Networking 3 06-24-2004 01:21 PM
Kernel Configuration Not Found vi0lat0r Mandriva 5 03-19-2004 04:48 AM
Apache 1.3 configuration directives calissal Linux - Software 0 09-08-2003 01:47 PM
(EE) Screen(s) found, but none have a usable configuration. R2RO Linux - Newbie 5 02-27-2002 02:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration