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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-28-2005, 02:46 PM
|
#1
|
LQ Newbie
Registered: Mar 2004
Distribution: RHEL
Posts: 27
Rep:
|
HTTPS and HTTP on same server
I'd like to set up my personal server (Apache2 on RHEL3) to accept both HTTP and HTTPS, with Named Virtual Domains. It is behind my DSL router, and so the NameVirtualHost is set to an IP and port (all the same):
NameVirtualHost xxx.xxx.xxx.xxx:80
And under that, several domains:
<VirtualHost xxx.xxx.xxx.xxx:80>
...
</VirtualHost>
<VirtualHost xxx.xxx.xxx.xxx:80>
...
</VirtualHost>
<VirtualHost xxx.xxx.xxx.xxx:80>
...
</VirtualHost>
I have a primary domain with a doc root under /var/www, and several other domains with doc roots under /home/some_domain. Now, what I'm really after is that I have webmail under /var/www/html/webmail and I'd like that to be more secure.
I'm having probles finding examples of what I need to do.
Any ideas?
|
|
|
11-28-2005, 03:00 PM
|
#2
|
Member
Registered: May 2005
Location: Africa
Distribution: Ubuntu, Redhat 6.2 to 9, Centos 4, Suse 8 Ent.,Suse 9 Ent.
Posts: 51
Rep:
|
vi /etc/httpd/conf.d/ssl.conf,
it is included in httpd.conf. You only need to uncomment relevant entries in the default VHost entry and set DocumentRoot to /var/www/html/webmail, defaults should work well if you don't mind the invalid SSL Certificates. But if you have money..., their path is there: SSLCertificateFile and SSLCertificateKeyFile. Obtain them and install them there.
|
|
|
11-28-2005, 05:47 PM
|
#3
|
LQ Newbie
Registered: Mar 2004
Distribution: RHEL
Posts: 27
Original Poster
Rep:
|
Quote:
Originally posted by XOR007
vi /etc/httpd/conf.d/ssl.conf,
it is included in httpd.conf. You only need to uncomment relevant entries in the default VHost entry and set DocumentRoot to /var/www/html/webmail, defaults should work well if you don't mind the invalid SSL Certificates. But if you have money..., their path is there: SSLCertificateFile and SSLCertificateKeyFile. Obtain them and install them there.
|
Well, I can sign my own, right? (not that it matters, it's only my personal webmail...)
|
|
|
All times are GMT -5. The time now is 01:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|