openSUSE Forums > Network/Internet » Yast http server

Go Back   openSUSE Forums > Network/Internet
Forums FAQ Members List Search Today's Posts Mark Forums Read


Network/Internet Questions about internet applications, network configuration, usage (SAMBA, network printing, NFS)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 18-Jan-2009, 15:45
Puzzled Penguin
 
Join Date: Jan 2009
Posts: 8
CarolinaGeek hasn't been rated much yet
Default Yast http server

The more I read the more Im confused about YAst configuration settings versus manual text edit of .conf files. ?Can all aspects of virtual hosts be set thru YAst or do some require manual edit? If you do manual edit, does later configure with YAst rewrite file and lose some data?
Reply With Quote
  #2 (permalink)  
Old 19-Jan-2009, 05:38
Explorer Penguin
 
Join Date: Jun 2008
Posts: 224
Ecky hasn't been rated much yet
Default Re: Yast http server

Yast's ok for the install and initial config but I think most people do things in the conf files after that, and yes yast can change settings you've done 'manually' in confs

These are the files to look at:

/etc/apache2/http.conf <--- global settings for the server

/etc/apache2/default-server.conf <---- settings for the 'main' host

The main hosts's folder is usually /srv/www/htdocs unless you change it in default-server.conf


Virtual hosts are easiest done by creating a conf file for each one and placing them in the folder:

/etc/apache2/vhosts.d

There's an example file in there called vhost.template you can use to get you started
Reply With Quote
  #3 (permalink)  
Old 19-Jan-2009, 18:43
Puzzled Penguin
 
Join Date: Jan 2009
Posts: 8
CarolinaGeek hasn't been rated much yet
Default Re: Yast http server

I cant get any virtual hosts to work.. all go to default host.... oh so fustrating
Reply With Quote
  #4 (permalink)  
Old 19-Jan-2009, 18:51
Puzzled Penguin
 
Join Date: Jan 2009
Posts: 8
CarolinaGeek hasn't been rated much yet
Default Re: Yast http server

Sorry... I am from a Windows background, where everything is configured from the same place and is more user friendly.
Reply With Quote
  #5 (permalink)  
Old 19-Jan-2009, 18:51
Flux Capacitor Penguin
 
Join Date: Jun 2008
Location: GMT+10
Posts: 5,232
ken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud of
Default Re: Yast http server

You need to enable NameVirtualHosts in listen.conf. That's one setting that can't be enabled from YaST, not sure why this was left out. And obviously you also need to have control over the name resolution so that those virtual hostnames map to the same IP. This is for name-based vhosts.
Reply With Quote
  #6 (permalink)  
Old 04-Feb-2009, 17:28
Puzzled Penguin
 
Join Date: Jan 2009
Posts: 8
CarolinaGeek hasn't been rated much yet
Default Re: Yast http server

I finally figured it out, however YAst did add NameVirtualHost into default-server.conf instead of needing to add it manually in listen.conf... I had to figure out that YAst only modifies certain files that are *.includes in the basic apache install. if you modify them manually then start YAst, it holds your changes. but if you modify others it dont. very interesting. it has my fedora buddie all wacked out, how u do that. doh
Now if I could get somemore posts on my ftp question, I could have everything online.
Reply With Quote
  #7 (permalink)  
Old 11-Oct-2009, 08:31
Puzzled Penguin
 
Join Date: Oct 2009
Posts: 1
mokelly1 hasn't been rated much yet
Default Re: Yast http server

I would like to know how you added listen name server through yast. I was able to finally get virtual named hosting working but I had to do it manually.

It has been 8 months since this post. Do you think this will be fixed in Yast someday?
Reply With Quote
Reply

Bookmarks

Tags
httpd, yast


Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2