Big Sur Technologies Services Blog

Wednesday, January 7, 2009

TIP: How to make Apache on NetWare 6.5 Target a Data Volume

In This example, we have a volume named VOL1, and we have a folder called “files” on that volume. What we are trying to do is keep the apache2 home folder on SYS and create a sub folder on another volume. The results would be http://NetWare1/ serves files from sys:apache2\htdocs\ and http://NetWare1/files serves files from vol1:files

You will need to edit your http.conf in sys:apache2/conf (backup your orig 1st – locate the section named “aliases” and add this line to the bottom

# This makes http://url/files pull from VOL1:Files
Alias /files "vol1:/files"
# This makes http://url/files pull from VOL1:Files


Now you can do an apwebdn and an apwebup – now http://NetWare1/files will be pulling data from the VOL1:

Now if you want to enable directory browsing, look at your httpd.conf and look for this section

# First, we configure the "default" to be a very restrictive set of
# features.
#

Options FollowSymLinks
AllowOverride None
<<Directory>




Now Add this under this section

<Directory "vol1:/files">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>


Now you can do an apwebdn and an apwebup, you shuld be able to browse your http://url/files on your website.

Again, Thanks for stopping by!

Charles J. Love
Technical Services Manager
Big Sur Technologies, Inc.
http://www.bigsurtech.com/



Labels:

0 Comments:

Post a Comment



<< Home