LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 07-26-2005, 11:49 AM   #1
nv22nv
LQ Newbie
 
Registered: Jul 2005
Posts: 9

Rep: Reputation: 0
No listening interface available in Yast HTTP Server Config


Hello,

I want to run an HTTP server on my machine (Suse 9.3) in order to do some experiments with my website (needs PHP and MySQL). I thought that the easiest way to set up the server would be using YAST, but I can't get past the first step of the configuration dialog where I should select a network device because the list of interfaces to listen on is empty.

I'm connecting to the internet with device 'dsl0', so I would expect this one to appear in the interface list. Any idea what I'm doing wrong?

I tried to configure Apache2 manually using the configuration files and the test website coming with Apache works fine, but I failed to configure a virtual host thus far and would prefer the easy way using YAST.

Any help is appreciated. Thanks in advance.
 
Old 07-26-2005, 11:41 PM   #2
HenchmenResourc
Member
 
Registered: Mar 2004
Location: SLC, Utah
Distribution: OpenSUSE 12.2
Posts: 246

Rep: Reputation: 30
You might want to give Webmin a try it's a much more robust tool for setting up an Apache server, it also (if my memory serves correctly) ether doesn't require you to choose a device, or will let you manually enter one, so you can use dsl0 or even the loopback device. Webmin is no replacement for a good solid knowledge of Apache but it's much better than YaST.
 
Old 07-27-2005, 12:15 AM   #3
nv22nv
LQ Newbie
 
Registered: Jul 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Oh, I don't aim to actually run my website on my computer, I just want to do some tests locally, therefore it doesn't matter if I do some things wrong which might matter on a "public" web server.

Thanks a lot for your answer, I'll give webmin a try.
 
Old 07-28-2005, 09:47 AM   #4
nv22nv
LQ Newbie
 
Registered: Jul 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Still not working 100%

Basically webmin works fine, but I'm still having the problem that I get a 403 error if I don't put my htms in /srv/www/ but somewhere in my home directory - although I just copied the files from /srv/www and added the respective directory to the list. Any idea?
 
Old 07-30-2005, 10:44 AM   #5
nv22nv
LQ Newbie
 
Registered: Jul 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Re: Still not working 100%

Quote:
Originally posted by nv22nv
Basically webmin works fine, but I'm still having the problem that I get a 403 error if I don't put my htms in /srv/www/ but somewhere in my home directory - although I just copied the files from /srv/www and added the respective directory to the list. Any idea?
Could this be due to the fact that I'm using encrypted home directories? I thought that there was no difference to non-encrypted home directories once they are mounted. I even set up a virtual server by copying and pasting the directives of the (working) default server (and adapting the paths to the directory I chose), and I still get a 403 error (You don't have permission to access /index.html on this server.). Using an encrypted directory other than my home directory doesn't work as well , but it works if I put it in /tmp.

Edit: I put that problem into its appropriate section here.

Last edited by nv22nv; 07-31-2005 at 09:14 AM.
 
Old 08-02-2005, 11:49 PM   #6
HenchmenResourc
Member
 
Registered: Mar 2004
Location: SLC, Utah
Distribution: OpenSUSE 12.2
Posts: 246

Rep: Reputation: 30
the encrypted file system I would suspect will lock it out since when you access a web page apache reads it as user http/web/www and therefor does not have access (I could be wrong on this). the same also goes for file/folder permisions any file (.html, .jpg, .png etc.) you want to be accessible through a web site you should set with read permissions for everyone and on folders any folder you want to be accessible though your server you will need to set with executable permission bit. The best setup for folders would be a 711 so that you can read/write/modify everything in the folder but everyone will only be able to read files in the folder not actually browse the folder, that way users that access you web site can't hit their up arrow to browse you folders.
 
  


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
creation of own http repository for Suse yast sawoy SUSE / openSUSE 1 06-20-2005 05:58 AM
'Help on YaST y2base interface? strangedub SUSE / openSUSE 0 04-19-2005 12:26 PM
Help on YaST y2base interface? strangedub SUSE / openSUSE 1 04-18-2005 08:07 PM
X server crashing - port listening time112852 Linux - Software 9 10-06-2003 01:20 PM
HTTP Interface Programming Nauseous Programming 1 08-04-2003 09:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 03:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration