Difference between revisions of "Talk:Web Application Redirect Tutorial"

From SME Server
Jump to navigationJump to search
(another method is needed)
 
m
Line 9: Line 9:
  
  
<VirtualHost 0.0.0.0:80>
+
<VirtualHost 0.0.0.0:80>
 
 
 
 
 
     ServerName NewDomain.net
 
     ServerName NewDomain.net
 
+
 
     DocumentRoot        /opt/thingy/html
 
     DocumentRoot        /opt/thingy/html
 
+
<snip>
+
<snip>

Revision as of 13:21, 29 February 2008

This page isn't a good idea, this method has problems

http://wiki.contribs.org/Web_Application_RPM#Webserver_templates

>> note this causes side effects, another method is needed


a better method may be to create a whole new VirtualHost section, copy an existing section and see what needs to be changed.


<VirtualHost 0.0.0.0:80>
   ServerName NewDomain.net

   DocumentRoot         /opt/thingy/html

<snip>