LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 05-07-2002, 06:04 PM   #1
Spinatech
LQ Newbie
 
Registered: May 2002
Location: ny
Distribution: Slackware 8, Mandrake 8.2
Posts: 5

Rep: Reputation: 0
Exclamation Apache-AdvancedExtranetServer/1.3.23


hello all... i have just installed mandrake 8.2 and opted to put in the apache server through it... it installed Apache-AdvancedExtranetServer/1.3.23 and im used to apache1.3.23... how would i go about changing what port the server runs on.. it is currently set to run on port 80 and i know how to change it in the httpd.conf file but with this version of apache it is broken into several files and i cant figure out how to change port 80 to port 81... thankyou for any one who knows how to do so

Apache-AdvancedExtranetServer/1.3.23 (Mandrake Linux/4mdk) mod_ssl/2.8.7 OpenSSL/0.9.6c PHP/4.1.2
-spinatech
 
Old 05-07-2002, 08:00 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
you need to actually turn off port 80 by commenting out these lines in /etc/httpd/conf/httpd.conf




#<IfDefine !APACHEPROXIED>
# Port 80
# Listen 80
#</IfDefine>

these will only be active if proxied but you can comment them out if you want


#<IfDefine APACHEPROXIED>
# Port 8080
# Listen 8080
#</IfDefine>

then add these lines in that file

Port 81
Listen 81

if you want you can just edit the section !APACHEPROXIED which means not proxied, but it's up to you.

If you don't comment out the lines above it will be on both ports 80 and 81


httpd -V will show you what file does what

Last edited by DavidPhillips; 05-07-2002 at 08:09 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail from Apache being rejected - Cannot route to sender apache@localhost.localdomain jimwillsher Linux - Networking 2 01-19-2006 12:41 AM
Apache 1.3.33 (debian built) and Apache SSL does not respond to the proper ports lqorg_user Linux - Networking 0 11-06-2005 04:11 PM
Apache-AdvancedExtranetServer installed two versions?? seedsca Mandriva 2 03-26-2004 12:03 AM
apache benchmarks (apache v13 / apache v20) ; large differences between benchmarking markus1982 Linux - Software 0 02-08-2003 10:53 AM
Apache-AdvancedExtranetServer/1.3.23 Spinatech Linux - General 0 05-14-2002 11:04 AM

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

All times are GMT -5. The time now is 02:51 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