LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Apache 1.3 Configuration Directives Found (https://www.linuxquestions.org/questions/linux-general-1/apache-1-3-configuration-directives-found-89209/)

calissal 09-04-2003 11:01 AM

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?

david_ross 09-04-2003 01:46 PM

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

calissal 09-04-2003 02:39 PM

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 :)

:newbie:

david_ross 09-04-2003 03:10 PM

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.

calissal 09-08-2003 08:47 AM

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!!

:newbie:


All times are GMT -5. The time now is 06:24 AM.