Top Module Empty
powered_by.png, 1 kB

Home
Mounting Novell Netware/Netstorage in Ubuntu
Written by Green Penguin   
Friday, 19 October 2007

Novell provides Directory Services and Network dish sharing within some large organisations such as the one I work for.

Using Ubuntu it is possible to mount these shares as part of your filesystem. Try the following:

  • Using Synaptic install ncpfs (and its dependencies libpam-ncp, libncp)
  • sudo mkdir /media/netstorage
  • sudo ncpmount -S staff06-mgt -A staff06-mgt.fqdn.co.uk -U Admin.ORG -V STAFF_SAN_7:IS/CCOFFICE -u mylocalusername /media/netstorage/
  • Use your file manager to browse the directory /media/netstorage

In the above:

  • Admin.ORG is the username in context i.e. cn=Admin,o=ORG - you will have to adjust this for your own username - browsing the directory for your own details might help
  • STAFF_SAN_7:IS/CCOFFICE  is the path to the share you want to mount. To get this path use the web interface to NetStorage and go to the root directory. Click once on the directory you want to mount and choose File-Properties from within the web interface. The pop-up window that opens should give you the detail you need for the mount point.
  • mylocalusername is the username on the local Ubuntu system
 
Allowing Directory Browsing in single directories with .htaccess
Written by Green Penguin   
Tuesday, 16 October 2007

Having a directory full of downloadable files can be useful and although it is generally accepted that allowing directory browsing from within the Apache configuration file might be a bit of a security issue, directory browsing for single directories can be useful and can be achieved using the following in a .htaccess file: 

Options +Indexes
DirectoryIndex nonexistantfile.html nonexistantfile.htm

The reason for specifiying the directory index is to ensure that if someone puts an index.html file into the directory that it won't be used and instead the contents of the directory will be listed. Some Content Management Systems will copy new index.html files into directories even if you don't want them ;-) 

 
.htaccess URL Rewriting
Written by Green Penguin   
Sunday, 05 August 2007

 The following tool is useful for generating Rewrite Rules for SEO friendly URL's  in an Apache .htaccess file.

http://www.linkvendor.com/seo-tools/url-rewrite.html 

 
<< Start < Prev 1 2 3 Next > End >>

Results 1 - 4 of 11
© 2010 Red Branch Blog
Joomla! is Free Software released under the GNU/GPL License.