LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-02-2009, 02:45 PM   #1
hopefull
LQ Newbie
 
Registered: Jan 2009
Distribution: Debian Etch/Lenny, RedHat Enterprise 5.2.
Posts: 20

Rep: Reputation: 0
apache2 look like apache1 in configuration and structure


Perhaps my request is strange...
can i found a debian package of apache2 which have same structure of apache1, i.e with only httpd.conf file , no mods-available and no mods-enabled?
I have seen RHE have that but official debian packages repository no

Thanks
 
Old 03-02-2009, 04:20 PM   #2
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 675
Blog Entries: 11

Rep: Reputation: 36
There is a httpd.conf file in the apache2 package for backwards compatibility, though the package installs with that file empty. If you have an httpd.conf file from an earlier install I think you could replace the one in the apache2 directory, but the real question is, will it work right. (??!) Probably some things (lots of things) have changed with the new apache2. I have never tried what you want to do, but there is an httpd.conf file. BTW, don't erase the config files that are there (apache2.conf) as they include the httpd.conf file that you need. Apache2 wont be able to find it if you erase all of "apache2.conf".

Last edited by radiodee1; 03-02-2009 at 04:23 PM.
 
Old 03-03-2009, 07:39 AM   #3
hopefull
LQ Newbie
 
Registered: Jan 2009
Distribution: Debian Etch/Lenny, RedHat Enterprise 5.2.
Posts: 20

Original Poster
Rep: Reputation: 0
Ok, this is a way, perhaps a little "dangerous"
I want to do it to have a package most possible like standard apache
I 'd understand not well, but i think only debian, ubuntu and some other debian-derived distro use this structure for apache 2 ; from official documentation there is no reference to apache2.conf, it is possible i make a mistake however
 
Old 03-03-2009, 07:45 AM   #4
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 675
Blog Entries: 11

Rep: Reputation: 36
Just out of curiosity, what is your reason for doing this? Are you trying to move an existing web site that uses apache over to apache2, or are you starting from scratch and you just like the idea of using apache 1... ??
 
Old 03-03-2009, 07:51 AM   #5
hopefull
LQ Newbie
 
Registered: Jan 2009
Distribution: Debian Etch/Lenny, RedHat Enterprise 5.2.
Posts: 20

Original Poster
Rep: Reputation: 0
uhmmm
the reason is trivial, i use in my company servers rhel and centos and on this server i have installed via yum apache2 and it has "standard" structure
On my personal laptop i use debian, and i enjoy this; often i make test or i study solutions using my notebook so i have advantage to use on debian "standard" structure..this is all
Perhaps i compile from source and have same structure
 
Old 03-03-2009, 07:57 AM   #6
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 675
Blog Entries: 11

Rep: Reputation: 36
Did you try replacing /etc/apache2/httpd.conf with your own httpd.conf? Maybe it will work.
 
Old 03-03-2009, 08:03 AM   #7
hopefull
LQ Newbie
 
Registered: Jan 2009
Distribution: Debian Etch/Lenny, RedHat Enterprise 5.2.
Posts: 20

Original Poster
Rep: Reputation: 0
No...i think to compile package to have a more clear solution
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache1 vs. Apache2 2008 lumix Linux - Software 1 12-17-2008 05:00 PM
apache1. or apache2 merlin23 Linux - Networking 1 12-01-2004 11:58 AM
Apache1 & Apache2 - How do I get them both working on the same box? neocookie Linux - Software 3 09-24-2004 02:58 AM
Why use Apache1.3 - What can't Apache2 do? davee Linux - Software 2 11-12-2003 11:42 AM
Slackware8: upgrade Apache1 to Apache2 m3kgt Linux - Software 3 10-27-2003 03:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:27 AM.

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