SUSE / openSUSE This Forum is for the discussion of Suse Linux. |
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.
|
|
07-26-2005, 10:49 AM
|
#1
|
LQ Newbie
Registered: Jul 2005
Posts: 9
Rep:
|
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.
|
|
|
07-26-2005, 10:41 PM
|
#2
|
Member
Registered: Mar 2004
Location: SLC, Utah
Distribution: OpenSUSE 12.2
Posts: 246
Rep:
|
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.
|
|
|
07-26-2005, 11:15 PM
|
#3
|
LQ Newbie
Registered: Jul 2005
Posts: 9
Original Poster
Rep:
|
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.
|
|
|
07-28-2005, 08:47 AM
|
#4
|
LQ Newbie
Registered: Jul 2005
Posts: 9
Original Poster
Rep:
|
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?
|
|
|
07-30-2005, 09:44 AM
|
#5
|
LQ Newbie
Registered: Jul 2005
Posts: 9
Original Poster
Rep:
|
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 08:14 AM.
|
|
|
08-02-2005, 10:49 PM
|
#6
|
Member
Registered: Mar 2004
Location: SLC, Utah
Distribution: OpenSUSE 12.2
Posts: 246
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 06:17 PM.
|
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
|
|