Author |
Message |
rudme
Junior WebHelper
![Junior WebHelper Junior WebHelper](images/rank_1.gif)
Joined: 16 Jan 2002
Posts: 11
Location: global
|
Posted:
Sat Jan 19, 2002 3:01 pm (22 years, 5 months ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
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 |
|
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by rudme Find all posts by rudme](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) ![Visit Poster's Website Visit Poster's Website](templates/4WebHelp2/images/lang_english/icon_www.gif) |
![](images/spacer.gif) |
jayant
Team Member
![](images/rank_6.gif)
![](http://www.phpbuilder.com/board/avatar.php?userid=132268&dateline=1069059954)
Joined: 07 Jan 2002
Posts: 262
Location: New Delhi, India
|
Posted:
Sat Jan 19, 2002 5:10 pm (22 years, 5 months ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by jayant Find all posts by jayant](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) ![Visit Poster's Website Visit Poster's Website](templates/4WebHelp2/images/lang_english/icon_www.gif) ![Yahoo Messenger Yahoo Messenger](templates/4WebHelp2/images/lang_english/icon_yim.gif) ![MSN Messenger MSN Messenger](templates/4WebHelp2/images/lang_english/icon_msnm.gif) |
![](images/spacer.gif) |
rudme
Junior WebHelper
![Junior WebHelper Junior WebHelper](images/rank_1.gif)
Joined: 16 Jan 2002
Posts: 11
Location: global
|
Posted:
Sun Jan 20, 2002 7:11 am (22 years, 5 months ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
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 |
|
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by rudme Find all posts by rudme](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) ![Visit Poster's Website Visit Poster's Website](templates/4WebHelp2/images/lang_english/icon_www.gif) |
![](images/spacer.gif) |
jayant
Team Member
![](images/rank_6.gif)
![](http://www.phpbuilder.com/board/avatar.php?userid=132268&dateline=1069059954)
Joined: 07 Jan 2002
Posts: 262
Location: New Delhi, India
|
Posted:
Sun Jan 20, 2002 4:42 pm (22 years, 5 months ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
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 |
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by jayant Find all posts by jayant](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) ![Visit Poster's Website Visit Poster's Website](templates/4WebHelp2/images/lang_english/icon_www.gif) ![Yahoo Messenger Yahoo Messenger](templates/4WebHelp2/images/lang_english/icon_yim.gif) ![MSN Messenger MSN Messenger](templates/4WebHelp2/images/lang_english/icon_msnm.gif) |
![](images/spacer.gif) |
Bill
Junior WebHelper
![Junior WebHelper Junior WebHelper](images/rank_1.gif)
Joined: 08 Jan 2002
Posts: 12
Location: USA
|
Posted:
Sun Jan 20, 2002 5:35 pm (22 years, 5 months ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
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! |
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by Bill Find all posts by Bill](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) ![Send email Send email](templates/4WebHelp2/images/lang_english/icon_email.gif) ![Visit Poster's Website Visit Poster's Website](templates/4WebHelp2/images/lang_english/icon_www.gif) ![AOL Instant Messenger AOL Instant Messenger](templates/4WebHelp2/images/lang_english/icon_aim.gif) |
![](images/spacer.gif) |
rudme
Junior WebHelper
![Junior WebHelper Junior WebHelper](images/rank_1.gif)
Joined: 16 Jan 2002
Posts: 11
Location: global
|
Posted:
Mon Jan 21, 2002 12:02 pm (22 years, 5 months ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
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 |
|
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by rudme Find all posts by rudme](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) ![Visit Poster's Website Visit Poster's Website](templates/4WebHelp2/images/lang_english/icon_www.gif) |
![](images/spacer.gif) |
jayant
Team Member
![](images/rank_6.gif)
![](http://www.phpbuilder.com/board/avatar.php?userid=132268&dateline=1069059954)
Joined: 07 Jan 2002
Posts: 262
Location: New Delhi, India
|
Posted:
Mon Jan 21, 2002 5:36 pm (22 years, 5 months ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by jayant Find all posts by jayant](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) ![Visit Poster's Website Visit Poster's Website](templates/4WebHelp2/images/lang_english/icon_www.gif) ![Yahoo Messenger Yahoo Messenger](templates/4WebHelp2/images/lang_english/icon_yim.gif) ![MSN Messenger MSN Messenger](templates/4WebHelp2/images/lang_english/icon_msnm.gif) |
![](images/spacer.gif) |
rudme
Junior WebHelper
![Junior WebHelper Junior WebHelper](images/rank_1.gif)
Joined: 16 Jan 2002
Posts: 11
Location: global
|
Posted:
Wed Jan 23, 2002 3:36 pm (22 years, 5 months ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
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 |
|
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by rudme Find all posts by rudme](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) ![Visit Poster's Website Visit Poster's Website](templates/4WebHelp2/images/lang_english/icon_www.gif) |
![](images/spacer.gif) |
roly
Senior WebHelper
![Senior WebHelper Senior WebHelper](images/rank_3.gif)
Joined: 08 Jan 2002
Posts: 150
|
Posted:
Tue Feb 05, 2002 7:14 am (22 years, 4 months ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
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 |
|
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by roly Find all posts by roly](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) ![Send email Send email](templates/4WebHelp2/images/lang_english/icon_email.gif) |
![](images/spacer.gif) |
roly
Senior WebHelper
![Senior WebHelper Senior WebHelper](images/rank_3.gif)
Joined: 08 Jan 2002
Posts: 150
|
Posted:
Tue Feb 05, 2002 7:17 am (22 years, 4 months ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
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! |
|
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by roly Find all posts by roly](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) ![Send email Send email](templates/4WebHelp2/images/lang_english/icon_email.gif) |
![](images/spacer.gif) |
|