Setting up Apache virtual hosts under SuSE 9.1?
Anyone know how to do this since the yast2 applet is broken? Preston
On Mon, 2004-05-17 at 13:35, Preston Crawford wrote:
Anyone know how to do this since the yast2 applet is broken?
Preston
Well, just tried webmin that comes with SuSE 9.1 and it's broken too. So that won't work. I have to say, as much as I like this version overall this has to be the lowest quality release I've ever seen from SuSE. Preston
On Mon, 2004-05-17 at 16:49, Preston Crawford wrote:
On Mon, 2004-05-17 at 13:35, Preston Crawford wrote:
Anyone know how to do this since the yast2 applet is broken?
Preston
Well, just tried webmin that comes with SuSE 9.1 and it's broken too. So that won't work. I have to say, as much as I like this version overall this has to be the lowest quality release I've ever seen from SuSE.
Preston
Check out a package called vhost. It does a fine job of setting up
virtual hosts.
--
Scot L. Harris
On Mon, May 17, 2004 at 11:57:40PM -0400, Scot L. Harris wrote:
On Mon, 2004-05-17 at 16:49, Preston Crawford wrote:
On Mon, 2004-05-17 at 13:35, Preston Crawford wrote:
Anyone know how to do this since the yast2 applet is broken?
Preston
Well, just tried webmin that comes with SuSE 9.1 and it's broken too. So that won't work. I have to say, as much as I like this version overall this has to be the lowest quality release I've ever seen from SuSE.
Preston
Check out a package called vhost. It does a fine job of setting up virtual hosts.
Which package is that? 'vhost' is not enough keyword to find it via Google ;) Peter
On Tue, 2004-05-18 at 09:06, poeml@cmdline.net wrote:
Check out a package called vhost. It does a fine job of setting up virtual hosts.
Which package is that?
'vhost' is not enough keyword to find it via Google ;)
Peter
Was the first entry from the google search I did.
http://chaogic.com/vhost/
Does a very good job of handling multiple vhosts on a server along with
email etc.
Highly recommended if you have a need to administer a number of vhost
sites.
--
Scot L. Harris
On Tue, May 18, 2004 at 06:10:37PM -0400, Scot L. Harris wrote:
On Tue, 2004-05-18 at 09:06, poeml@cmdline.net wrote:
Check out a package called vhost. It does a fine job of setting up virtual hosts.
Which package is that?
'vhost' is not enough keyword to find it via Google ;)
Peter
Was the first entry from the google search I did.
Amazing. The first hit out of 118,000. ;)
Does a very good job of handling multiple vhosts on a server along with email etc.
Thanks, looked at it. Overkill for most people IMO -- not everyone is an internet service provider! On the other hand, I am not sure if it offers enough control on a lower level. And, I sincerely wonder how secure the web interface is. I generally don't like the approach of giving the webserver write permissions over its own configuration, and the perl script that's run via the setuid root wrapper is something that I do not want to touch with a 10' pole. Peter
On Wed, 2004-05-19 at 05:19, poeml@cmdline.net wrote:
Thanks, looked at it. Overkill for most people IMO -- not everyone is an internet service provider! On the other hand, I am not sure if it offers enough control on a lower level. And, I sincerely wonder how secure the web interface is. I generally don't like the approach of giving the webserver write permissions over its own configuration, and the perl script that's run via the setuid root wrapper is something that I do not want to touch with a 10' pole.
Peter
To each their own. :)
I don't use the web interface. Strictly command line. You are probably
correct, it may be over kill if you are running just one or two virtual
hosts. But it does make setting up a virtual host and doing admin work
very easy for first time people.
--
Scot L. Harris
On Mon, May 17, 2004 at 01:35:11PM -0700, Preston Crawford wrote:
Anyone know how to do this since the yast2 applet is broken?
What's broken and how? Could you be so kind to create a report via http://www.suse.com/feedback, so it can get fixed? Peter
On Tue, 2004-05-18 at 00:13, poeml@cmdline.net wrote:
On Mon, May 17, 2004 at 01:35:11PM -0700, Preston Crawford wrote:
Anyone know how to do this since the yast2 applet is broken?
What's broken and how?
Could you be so kind to create a report via http://www.suse.com/feedback, so it can get fixed?
Peter
I did. Basically when I would go to create virtual hosts I couldn't actually get to said virtual hosts and when I'd return to the applet they'd be gone from the applet so I couldn't remove them except by hitting the text file manually. Someone on IRC showed me a better way to do it manually so everything is fine now, but it's just too bad that they have this applet and that it doesn't really work that well. At least it didn't for me. Preston
On Tue, May 18, 2004 at 05:57:19AM -0700, Preston Crawford wrote:
On Tue, 2004-05-18 at 00:13, poeml@cmdline.net wrote:
On Mon, May 17, 2004 at 01:35:11PM -0700, Preston Crawford wrote:
Anyone know how to do this since the yast2 applet is broken?
What's broken and how?
Could you be so kind to create a report via http://www.suse.com/feedback, so it can get fixed?
Peter
I did. Basically when I would go to create virtual hosts I couldn't actually get to said virtual hosts and when I'd return to the applet they'd be gone from the applet so I couldn't remove them except by hitting the text file manually. Someone on IRC showed me a better way to do it manually so everything is fine now, but it's just too bad that they have this applet and that it doesn't really work that well. At least it didn't for me.
Thanks a lot, I'll pass it on to the author. Peter
On Tue, 2004-05-18 at 06:02, poeml@cmdline.net wrote:
Thanks a lot, I'll pass it on to the author.
Peter
Also, FWIW, I just went back into the HTTP applet and now my virtual hosts are showing up. But only because I manually did the following. Created a directory named "my_conf" in /etc/apache2/ and created a file there named my.conf that includes an entry like the following... NameVirtualHost 127.0.0.3 Then I edited /etc/sysconfig/apache2 to make the line with APACHE_CONF_INCLUDE_DIRS read... APACHE_CONF_INCLUDE_DIRS="/etc/apache2/my_conf" Then created a file in /etc/apache2/vhosts.d/ named myvhost.conf with the following in it. <VirtualHost myvhost> ServerAdmin root ServerName myvhost DocumentRoot "/srv/www/sites/myvhost" </VirtualHost> This works. And in the end this strangely then has the vhosts showing up in the HTTP applet, which is weird since when I tried to use the HTTP applet to create virtual hosts it just crammed the virtual host configuration information at the bottom of /etc/apache2/default-server.conf. Anyway, very strange behavior. Maybe the applet should be by default creating individual files for each host like I did. Obviously it recognizes the validity of them while it doesn't recognize the validity of putting this information into /etc/apache2/default-server.conf. Very strange. In the end, either way, nothing would work until I turned a setting to allow my browser to get to the host from my IP address. This may just be a case of SuSE 9.1 being more tightly secured than past versions, but this caused me a headache too as I'm used to just being able to setup the virtual hosts and they just work. Maybe it's an Apache 2 vs. 1.3 thing. I don't know. Either way it doesn't just work as expected out of the box unless you are an apache expert. Preston
participants (3)
-
poeml@cmdline.net
-
Preston Crawford
-
Scot L. Harris