spacer
spacer search

SwissCenter

Search
spacer
Main Menu
Home
Documentation + FAQ
Screenshots
Downloads
Forums
Bug Tracking
History
Login
Username

Password

Remember me
?
No account yet?

Locations of visitors to this page

 
Home arrow Forums

SwissCenter Forums  


SwissCenter on relative path - 2008/04/24 03:34 I have a running Apache2 instance on my OpenSuse 10.3 box which I want to use for SwissCenter. As the main webpage is already occupying the root of the webserver I would like to run SwissCenter form a relative path like:
'http://localhost/swisscenter'

Apparently not all the references within SwissCenter are relative and thus resulting in some broken links. I believe that it should be quite easy to clean up the broken links.

Is the setup I am trying to do feasible or should I rather go for a virtual host like 'http://swisscenter.localhost' to get around this?
  | | The administrator has disabled public write access.
Re: SwissCenter on relative path - 2008/04/24 08:25 nnap wrote:
Is the setup I am trying to do feasible or should I rather go for a virtual host like 'http://swisscenter.localhost' to get around this?

A virtual host will just work (tm) without any hacking.
  | | The administrator has disabled public write access.
Re: SwissCenter on relative path - 2008/04/25 03:07 TrevorH wrote:
nnap wrote:
Is the setup I am trying to do feasible or should I rather go for a virtual host like 'http://swisscenter.localhost' to get around this?

A virtual host will just work (tm) without any hacking.


been fiddling around with the apache config with no success on the virtualhosts. problem appears to be the router that messes with the http header, so that apache is not able to dispatch the requests based on the dns-name. more investigation needed
  | | The administrator has disabled public write access.
Re: SwissCenter on relative path - 2008/04/25 03:35 Don't use name based virtual hosting on a home network - create the virtual host on a different port. An example of a working virtual host specification is as follows.

Rob.

Code:

  Listen 8080  <VirtualHost _default_:8080>    DocumentRoot "/srv/www/swisscenter"    <Directory "/srv/www/swisscenter">      Options Indexes FollowSymLinks MultiViews      AllowOverride None      Order allow,deny      Allow from all    </Directory>    <IfModule mod_dir.c>      DirectoryIndex index.html index.php    </IfModule>  </VirtualHost

Player : Pinnacle Showcenter 200 and 1000 (wired ethernet)
Server : Windows XP Pro running on an Athlon XP 2200, 768 Mb RAM, 1.8 Tb storage.

  | | The administrator has disabled public write access.
Re: SwissCenter on relative path - 2008/04/25 04:00 admin wrote:
Don't use name based virtual hosting on a home network - create the virtual host on a different port. An example of a working virtual host specification is as follows.

Rob.


thanks for the reply rob. Using different ports appears to be the only solution. As I run a DynDNS/Router/NAT setup I have not yet found a way to get rid of
the port when I request the page. So when I want to get the swisscenter webpage i'd go to: http://swisscenter.example.com:8080
DynDNS just provides the DNS mapping, so no port definition there and the router just allows me to forward port 8080 to my home network ip and port 8080. Would it be possible to define virtual ips for the linux box with one network card? If so I could do the mapping via the ip address.
  | | The administrator has disabled public write access.
spacer
 

Screenshots

www.flickr.com
This is a Flickr badge showing public photos from swisscenter. Make your own badge here.


 

Mambo is Free Software released under the GNU/GPL License.
spacer