Gossamer Forum
Home : Products : Others : Fileman :

.htaccess

Quote Reply
.htaccess
is there a way to edit .htaccess files directly through fileman?

We the willing,
Led by the unknowing,
Do the impossible,
For the ungrateful.

Niall
Quote Reply
Re: .htaccess In reply to
you need to edit "fileman.cgi" as below:
-----------------------------------------
# Checks to see if a file is valid (proper form).
#
my ($file, $okfile) = "";
$file = shift;

###(VM) '.' allowed too
# ($file =~ m,^([A-Za-z0-9\-_.]*)$,) ?
($file =~ m,^([A-Za-z0-9\-_\..]*)$,) ?
----------------------------------------
commented out string doesn't allow '.' as part of the file_name

regards,
Viktor