LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 06-14-2006, 11:29 AM   #1
kg4ysy
Member
 
Registered: May 2005
Location: North Carolina
Distribution: Gentoo
Posts: 123

Rep: Reputation: 19
Apache port forwarding


I am running apache2 with a few virtual hosts running on 4 different ports. When a connection is made to port 80 it redirects to https://1.2.3.100. Is there anyway to just tell apache to redirect to port 443 without having to specify the full address. Basically I can access my apache server through the ip address and through the hostname and I don't want to have the connection get sent through a different gateway. I just don't want to have to keep changing 1.2.3.100 everytime I move my computer to a different location.

Thanks
 
Old 06-14-2006, 01:28 PM   #2
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
if I understand correctly what youre talking about, id say all you have to do is instead of specifying 1.1.1.1:443 just put :443
 
Old 06-14-2006, 01:57 PM   #3
kg4ysy
Member
 
Registered: May 2005
Location: North Carolina
Distribution: Gentoo
Posts: 123

Original Poster
Rep: Reputation: 19
exactly...when i go back to college there will be numerous ways to access my computer and i would like just to port forward and not specify either my ip or hostname...how do I go about doing this in the virtualhosts and redirects?...I can post parts of my config if you want to see what I have so far

--Jim
 
  


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
port forwarding apache from 80 to 8080 chess Linux - General 11 09-27-2005 02:21 PM
Port Forwarding for Apache IlyaZ Linux - Networking 14 05-15-2005 04:41 AM
Help with apache server dir and port forwarding leemoreau Linux - Software 13 03-25-2005 09:56 AM
port forwarding problem using netgear dg814 and apache tommo_a Linux - Networking 0 10-16-2003 08:46 AM
seperate apache, port forwarding kires Linux - General 2 04-24-2002 12:37 AM


All times are GMT -5. The time now is 12:17 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration