Netware Webserver - NetStorage in a custom vhost

This is Interesting: Free IT Magazines  
Home > Archive > Netware Webserver > April 2006 > NetStorage in a custom vhost





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author NetStorage in a custom vhost
Wouter Mignon

2006-04-08, 7:00 pm

I'm using a custom vhost config for NetStorage.

This one works perfect, BUT my users have to remember to add httpS and
the /NetStorage part.

-----------------------
NameVirtualHost *:80
NameVirtualHost *:443

<VirtualHost *:80>
ServerName files.blah.com
DocumentRoot "SYS:/tomcat/4/webapps/NetStorage"
</VirtualHost>

<VirtualHost *:443>
ServerName files.blah.com
DocumentRoot "SYS:/tomcat/4/webapps/NetStorage"
</VirtualHost>
-----------------------


This is de one i want to use. With this config users just type
files.blah.com. Only problem is that for some reason deleting/renaming
files doesn't work with this vhost config.

-----------------------
NameVirtualHost *:80
NameVirtualHost *:443

# Opgepast, zelfs al maak je een SSL vhosts, NetStorage zal nog altijd
:80 gebruiken


<VirtualHost *:80>
ServerName files.khleuven.be
RedirectMatch /(.*) https://files.khleuven.be/NetStorage/
</VirtualHost>

<VirtualHost *:443>
ServerName files.khleuven.be
DocumentRoot "SYS:/tomcat/4/webapps/NetStorage"
</VirtualHost>
-----------------------

I'm using Netware 6.5SP5. Any ideas?

greets,
Wouter
Automatic Reply

2006-04-08, 7:00 pm

Wouter,

It appears that in the past few days you have not received a response to your posting. That concerns us, and has triggered this automated reply.

Has your problem been resolved? If not, you might try one of the following options:

- Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
- Check all of the other support tools and options available at http://support.novell.com in both the "free product support" and "paid product support" drop down boxes.
- You could also try posting your message again. Make sure it is posted in the correct newsgroup. (http://support.novell.com/forums)

If this is a reply to a duplicate posting, please ignore and accept our apologies and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your Novell Product Support Forums Team
http://support.novell.com/forums/

David L. Harfst

2006-04-18, 12:00 am

Not sure why the second doesn't work - no expert on RedirectMatch and
Tomcat (hate java).

But as to the first, you could point your document root on the port 80
virtual hosts to a different dir, then set up an index.html file to
redirect it with a META tag to port 443 with the /NetStorage directory.


Wouter Mignon wrote:
> I'm using a custom vhost config for NetStorage.
>
> This one works perfect, BUT my users have to remember to add httpS and
> the /NetStorage part.
>
> -----------------------
> NameVirtualHost *:80
> NameVirtualHost *:443
>
> <VirtualHost *:80>
> ServerName files.blah.com
> DocumentRoot "SYS:/tomcat/4/webapps/NetStorage"
> </VirtualHost>
>
> <VirtualHost *:443>
> ServerName files.blah.com
> DocumentRoot "SYS:/tomcat/4/webapps/NetStorage"
> </VirtualHost>
> -----------------------
>
>
> This is de one i want to use. With this config users just type
> files.blah.com. Only problem is that for some reason deleting/renaming
> files doesn't work with this vhost config.
>
> -----------------------
> NameVirtualHost *:80
> NameVirtualHost *:443
>
> # Opgepast, zelfs al maak je een SSL vhosts, NetStorage zal nog altijd
> :80 gebruiken
>
>
> <VirtualHost *:80>
> ServerName files.khleuven.be
> RedirectMatch /(.*) https://files.khleuven.be/NetStorage/
> </VirtualHost>
>
> <VirtualHost *:443>
> ServerName files.khleuven.be
> DocumentRoot "SYS:/tomcat/4/webapps/NetStorage"
> </VirtualHost>
> -----------------------
>
> I'm using Netware 6.5SP5. Any ideas?
>
> greets,
> Wouter


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com