Author |
Message |
rudme
Junior WebHelper
Joined: 16 Jan 2002
Posts: 11
Location: global
|
Posted:
Sat Jan 19, 2002 3:01 pm (22 years, 3 months ago) |
|
I found a way to use the .htaccess and ;htpassword
files in my cgi bin there i believe, but somehow
so far it is not working.
Does anyone of you know exactly what kind of lines it needs for this host to work
I have so far tried this:
AuthName Administration
AuthType Basic
AuthUserFile /xxx/home/xx/xxx/x/me/cgi-bin/subdir/subdir2/.htpasswd
require valid-user
Anyone knows a better way to try??
Rud |
|
|
|
|
jayant
Team Member
Joined: 07 Jan 2002
Posts: 262
Location: New Delhi, India
|
Posted:
Sat Jan 19, 2002 5:10 pm (22 years, 3 months ago) |
|
|
|
|
rudme
Junior WebHelper
Joined: 16 Jan 2002
Posts: 11
Location: global
|
Posted:
Sun Jan 20, 2002 7:11 am (22 years, 3 months ago) |
|
jayant wrote: |
For it to work, mod_auth module should be there with Apache. Are you sure Apache is installed with it ?
|
Maybe only at the movies? (just a quick joke)
No, seriously, i have in the meantime tried the same thing that worked on f2s ergo:
AuthUserFile /var/www/html/home/vhost/com/nukien/me/cgi-bin/subdir/subdir2/.htpasswd
AuthGroupFile /dev/null
AuthName 'Useroo Administration'
AuthType Basic
<limit GET PUT POST>
require valid-user
</limit>
this time i got at least the signin popup.
However, when i logged in it returned a "login failure", try again popup,
and i do not not know if that would mean Apache is there or not.
Would i get the signin popup regardless if Apache is there or not is the question???
Rud |
|
|
|
|
jayant
Team Member
Joined: 07 Jan 2002
Posts: 262
Location: New Delhi, India
|
Posted:
Sun Jan 20, 2002 4:42 pm (22 years, 3 months ago) |
|
rudme wrote: |
jayant wrote: |
For it to work, mod_auth module should be there with Apache. Are you sure Apache is installed with it ?
|
Maybe only at the movies? (just a quick joke)
No, seriously, i have in the meantime tried the same thing that worked on f2s ergo:
AuthUserFile /var/www/html/home/vhost/com/nukien/me/cgi-bin/subdir/subdir2/.htpasswd
AuthGroupFile /dev/null
AuthName 'Useroo Administration'
AuthType Basic
<limit GET PUT POST>
require valid-user
</limit>
this time i got at least the signin popup.
However, when i logged in it returned a "login failure", try again popup,
and i do not not know if that would mean Apache is there or not.
Would i get the signin popup regardless if Apache is there or not is the question???
Rud
|
you don't get that pop-up if mod_auth module ain't there. i guess you have the wrong the set of username/password in .htpasswd, did you use Make-a-Pass script to generate the encrypted password ? |
________________________________ Jayant Kumar
Member of the 4WebHelp Team
Nibble Guru - Computing Queries Demystified
GZip/ Page Compression Test |
|
|
|
Bill
Junior WebHelper
Joined: 08 Jan 2002
Posts: 12
Location: USA
|
Posted:
Sun Jan 20, 2002 5:35 pm (22 years, 3 months ago) |
|
Have you tried putting the .htaccess into your cgi-bin and pointing it to a .htpasswd file in a subdirectory under httpdocs?
Code: |
Example:
AuthUserFile /var/www/html/home/vhost/com/nukien/me/subdir/subdir2/.htpasswd
AuthGroupFile /dev/null
AuthName 'Useroo Administration'
AuthType Basic
<limit GET PUT POST>
require valid-user
</limit>
|
|
________________________________ life's a bummer, yet death isn't an option! |
|
|
|
rudme
Junior WebHelper
Joined: 16 Jan 2002
Posts: 11
Location: global
|
Posted:
Mon Jan 21, 2002 12:02 pm (22 years, 3 months ago) |
|
jayant wrote: |
rudme wrote: |
jayant wrote: |
For it to work, mod_auth module should be there with Apache. Are you sure Apache is installed with it ?
|
Maybe only at the movies? (just a quick joke)
No, seriously, i have in the meantime tried the same thing that worked on f2s ergo:
AuthUserFile /var/www/html/home/vhost/com/nukien/me/cgi-bin/subdir/subdir2/.htpasswd
AuthGroupFile /dev/null
AuthName 'Useroo Administration'
AuthType Basic
<limit GET PUT POST>
require valid-user
</limit>
this time i got at least the signin popup.
However, when i logged in it returned a "login failure", try again popup,
and i do not not know if that would mean Apache is there or not.
Would i get the signin popup regardless if Apache is there or not is the question???
Rud
|
you don't get that pop-up if mod_auth module ain't there. i guess you have the wrong the set of username/password in .htpasswd, did you use Make-a-Pass script to generate the encrypted password ?
|
Hmm, no i used the encription thing on virtualave, this worked on vave and on f2s and on some others and i made extra sure that i use the password/login name combi i know well enough, so there must still be another problem with nukien that i think could only be known by someone who has successfully tried it before me, but go and ask them (the support i mean), they answer in french or broken english telling you cgi is not available all though it is!
Oh by the way, your link to that (your?) http://www.webextractions.f2s.com/ site returned a Unsolved Host Name Error, i guess it's the sign of shutdown at f2s
Rud |
|
|
|
|
jayant
Team Member
Joined: 07 Jan 2002
Posts: 262
Location: New Delhi, India
|
Posted:
Mon Jan 21, 2002 5:36 pm (22 years, 3 months ago) |
|
|
|
|
rudme
Junior WebHelper
Joined: 16 Jan 2002
Posts: 11
Location: global
|
Posted:
Wed Jan 23, 2002 3:36 pm (22 years, 3 months ago) |
|
Good to know, but i have no clue in what context you are talking about????
Your link? To complicated for a non scripter like me to understand
make htaccess and htpassword = i have that already
and, looking at that file and trying it on my hard drive does not result in anything.
What i need to find out is what exactly works on nvphost/nukien.com
or, does it make any difference if the 2 files are visible in the FTP program or not???
Rud |
|
|
|
|
roly
Senior WebHelper
Joined: 08 Jan 2002
Posts: 150
|
Posted:
Tue Feb 05, 2002 7:14 am (22 years, 2 months ago) |
|
umm... i don't think .htaccess & .htpasswd are supported by nvphost. to make perl scripts work you have to in your main dir create a dir called CGI-BIN, CHMOD it 755 and set the perl paths to /usr/bin/perl for an example see http://www.phpnova.nukien.com/cgi-bin/perl_test.cgi |
|
|
|
|
roly
Senior WebHelper
Joined: 08 Jan 2002
Posts: 150
|
Posted:
Tue Feb 05, 2002 7:17 am (22 years, 2 months ago) |
|
oh yeah despite perl test script saying that sendmail is /usr/lib/sendmail its actuly /usr/sbin/sendmail as thats wat PHP is configured for! |
|
|
|
|
|