Koozali.org: home of the SME Server

.htaccess HOWTO

Antony

.htaccess HOWTO
« on: February 22, 2002, 01:04:39 PM »
Hello,

I've also read the HOWTO for htaccess use, but the url : http://sme.nightspirit.nl/downloads/htaccess.tar.gz is not valid anymore.
Any one knows where to download htaccess.tar.gz , or anyone can e-mail it to me, please ;-) at puboreka122001@oreka.com

Best regards,
Antony.

>I like to protect some directories on a SME V5 Server. The .htaccess HowTo is >not accessible - maybe it's moved to any other server. Do anybody knew the >URL?

Thor Anthrax

Re: .htaccess HOWTO
« Reply #1 on: February 22, 2002, 11:59:50 PM »
It is valid, but the server is currently offline. I expect it back online in about 3 weeks. During this time you can view somewhere on e-smith org. Don't know where exactly now :)

(My mail doesn't work currently too)

Charlie Brady

Re: .htaccess HOWTO
« Reply #2 on: February 23, 2002, 01:07:44 AM »
Thor Anthrax wrote:

> It is valid, but the server is currently offline. I expect it
> back online in about 3 weeks. During this time you can view
> somewhere on e-smith org. Don't know where exactly now :)

ftp://ftp.e-smith.org/pub/e-smith/contrib/ThorAnthrax/mirror/htaccess.html

Charlie

Thor Anthrax

Re: .htaccess HOWTO
« Reply #3 on: February 23, 2002, 07:39:15 AM »
Thank Charlie...I will write it done.

I guess some more weeks without internet *I'm gonne die*

Antony

Re: .htaccess HOWTO
« Reply #4 on: February 27, 2002, 01:27:38 PM »
Hello Charlie,

Thank you verry much for the URL.

Best regards.
Antony.

Antony

Re: .htaccess HOWTO
« Reply #5 on: February 27, 2002, 04:59:10 PM »
Hello,

Excuse for my multipost. I've downloaded htaccess.tar.gz file. I've done what's said in the how to. Now i get this message : "Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request" when i try to access to the folder protected by the .htaccess.
My .htaccess file contains :
#Access file
order allow,deny
allow from all
require valid-user
Authname myuser
AuthPAM_Enabled off
AuthType Basic
AuthUserFile /home/e-smith/files/primary/html/.htpasswd

Is there something wrong with the .htaccess ?

I did non understood the first line in the how to : "#Create the map /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf and change to there".

I'm not very good in Linux. Sorry ;-)

Thanks for help.
Best regards.
Antony.

Thor Anthrax

Re: .htaccess HOWTO
« Reply #6 on: February 28, 2002, 10:57:07 PM »
Looks like a .htaccess problem indeed, but doesn't have to be

#Create the map /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf and change to there".
means:
make the map /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf

Antony

Re: .htaccess HOWTO
« Reply #7 on: March 01, 2002, 01:41:26 AM »
Hello,
Thanks for support. I finaly succeded in the update. I have found where the proble was : There was no need to use "AuthPAM_Enabled off"
So the right .htaccess file look like :
#Access file
order allow,deny
allow from all
require valid-user
Authname myuser
AuthType Basic
AuthUserFile /home/e-smith/files/primary/html/.htpasswd

Thanks for all,
Best regards.
Antony.

kitkat

Re: .htaccess HOWTO
« Reply #8 on: March 18, 2002, 05:56:11 AM »
The link still doesnt work for the
"http://sme.nightspirit.nl/downloads/htaccess.tar.gz"

Can some one tell me where I can get it?

-Kit

Thor Anthrax

Re: .htaccess HOWTO
« Reply #9 on: March 18, 2002, 05:44:23 PM »
It will be available tomorrow...

Ruusvuu

Re: .htaccess HOWTO
« Reply #10 on: March 21, 2002, 04:24:57 AM »
not available 3-20 at 6:24 pm MST

Ruusvuu

Re: .htaccess HOWTO
« Reply #11 on: March 21, 2002, 04:54:18 AM »
[root@xend httpd.conf]# wget http://tech-geeks.org/contrib/mdrone/htaccess.tar.gz
--18:55:16--  http://tech-geeks.org/contrib/mdrone/htaccess.tar.gz
           => htaccess.tar.gz'
Connecting to tech-geeks.org:80... connected!
HTTP request sent, awaiting response... 200 OK
Length: 1,347 [application/x-gunzip]

    0K -> .                                                      [100%]

18:55:21 (1.28 MB/s) - htaccess.tar.gz' saved [1347/1347]

[root@xend httpd.conf]# tar xzvf htaccess.tar.gz
90e-smithAccess10primary
90e-smithAccess40ibays
[root@xend httpd.conf]# rm -f htaccess.tar.gz
[root@xend httpd.conf]# /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf[root@xend httpd.conf]# /etc/init.d/httpd-e-smith restart
Shutting down http:                                        [   OK   ]
Starting httpd:                                            [   OK   ]
[root@xend httpd.conf]# /etc/init.d/httpd-e-smith restart

Thor Anthrax

Re: .htaccess HOWTO
« Reply #12 on: March 21, 2002, 05:08:05 AM »
http://sme.nightspirit.nl/ is available since Wednesday, so don't tell me it's not. I can see the stats and there are a few visitors, so why do you think it's down?

Thor Anthrax

Re: .htaccess HOWTO
« Reply #13 on: March 21, 2002, 05:11:19 AM »
By the way...

85DefaultAccess needs to be updated to...the files isn't even completed.
Actually the method used in the files is for =< SME 5.0

Tommy

Re: .htaccess HOWTO
« Reply #14 on: September 25, 2002, 05:59:43 PM »
I get this error!?
Why!!!!  

  [ ERROR ]
Cannot process template /etc/e-smith/templates-custom//etc/httpd/conf/httpd.conf/h
taccess-1.1.tar.gz.1:
 at /usr/lib/perl5/site_perl/esmith/util.pm line 88