LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-12-2006, 01:54 AM   #1
Ameii83
Member
 
Registered: Dec 2004
Location: malaysia
Posts: 56

Rep: Reputation: 15
Exclamation https with http problem


I was sucessfully setup the https://xxxx.example.com.my into the server in linux. But the problem is... if i type http://xxxx.example.com.my with no "s" . It show all the directory file of the web pages sources code.What i should do to close it?? There is any problem with my httpd.conf??
 
Old 06-12-2006, 06:39 AM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Do you use virtual hosts? The only cause I can think of is that the following line only applies to your https virtual host and not to the http virtual host.
Code:
AddType application/x-httpd-php .php
But I'm not sure.
 
Old 06-12-2006, 09:26 PM   #3
Ameii83
Member
 
Registered: Dec 2004
Location: malaysia
Posts: 56

Original Poster
Rep: Reputation: 15
Smile it work well

it all done. i just direct the http for unavailable page in virtual host and it will come out with the error page!!

thanks to all
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
https works, but not http squeaks_27 Linux - Networking 1 05-31-2005 08:41 PM
http and https wennie Linux - Software 1 04-01-2005 11:47 AM
HTTP versus HTTPS Linh Linux - Security 5 09-18-2003 11:13 AM
HTTP to HTTPS shegde Linux - Software 8 01-31-2003 04:29 AM
https or http? antken Programming 3 10-30-2002 05:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:00 PM.

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