Author |
Message |
domuk
WebHelper
Joined: 15 Jan 2004
Posts: 91
|
Posted:
Thu Jan 15, 2004 8:22 pm (20 years, 3 months ago) |
|
Hi all,
I am going out of my mind trying to get a .htaccess file working
1) can you use ../../ when specifying the authuserfile?
2) how do you find out your exact server path to use after the authuserfile? I am with Easily.co.uk
3) could someone attach an actual file so I can see the exact spacing and carriage returns (I think I read somewhere that it all has to be on one line)
4) I read in windows xp help file, that when using xp for ftp it defaults to ASCii. Is this true?
5) I have downloaded Apachie but am not sure how to enter the commands to generate the password files. Is there a step by step guide for wooden heads like myself?
6) Can I use the various password / username generators on the web as aposed to Apachie for Easly.co.uk?
Hope you can help,
Thanks in advance,
Dom.......... |
|
|
|
|
SfCommand
Senior WebHelper
Joined: 10 Nov 2002
Posts: 143
Location: UK
|
Posted:
Fri Jan 16, 2004 12:36 pm (20 years, 3 months ago) |
|
domuk wrote: | Hi all,
I am going out of my mind trying to get a .htaccess file working
1) can you use ../../ when specifying the authuserfile? |
I'm not sure, Possibly
domuk wrote: | 2) how do you find out your exact server path to use after the authuserfile? I am with Easily.co.uk |
It should be in a FAQ/userguide available at easily
(Depending on which server you are on, it is listed in one of these 3 pages:
http://easily.co.uk/index.php3?exe=faq&sb=n&do=d&group_id=5&id=215
http://easily.co.uk/index.php3?exe=faq&sb=n&do=d&group_id=5&id=216
http://easily.co.uk/index.php3?exe=faq&sb=n&do=d&group_id=5&id=217
domuk wrote: | 3) could someone attach an actual file so I can see the exact spacing and carriage returns (I think I read somewhere that it all has to be on one line) |
Yes, the username:pass need to be on one line
domuk wrote: | 4) I read in windows xp help file, that when using xp for ftp it defaults to ASCii. Is this true? |
Again, I'm, not too sure, but for .htpasswd and .htaccess files I don't think it matters (I think they should be uploaded as ascii anyway).
domuk wrote: | 5) I have downloaded Apachie but am not sure how to enter the commands to generate the password files. Is there a step by step guide for wooden heads like myself? |
I don't think the htpasswd generator is a part of apache, but rather a part of *nix operating systems.
domuk wrote: | 6) Can I use the various password / username generators on the web as aposed to Apachie for Easly.co.uk? |
Yes, an htpasswd generator is an htpasswd generator anywhere
However, depending on how the easily one works, it may be best to keep using that one, |
________________________________ Miguel
http://community.34sp.com
http://www.miguel.me.uk | http://www.sfcommand.co.uk | http://www.ssdg.org.uk |
|
|
|
domuk
WebHelper
Joined: 15 Jan 2004
Posts: 91
|
Posted:
Fri Jan 16, 2004 5:19 pm (20 years, 3 months ago) |
|
Thank you so much for your help,
You have been more help than the service provider!
I knew i was using the wrong path but didn't know what to use. I was supplied with the path from another server!!!!!!! I had no idea which server i was on or if they had multiple servers.
It took three days when it could have taken 1/2 hour with the correct information..
Works now,
Thanks again,
Dom |
|
|
|
|
domuk
WebHelper
Joined: 15 Jan 2004
Posts: 91
|
Posted:
Sat Jan 17, 2004 7:34 am (20 years, 3 months ago) |
|
Hi Miguel,
I wonder if you can help me again. It is another question about Easily.co.uk. You seem to be more helpful than their help desk so here it goes:
I appear to be using the Plesk server as the directory path worked on the .htaccess files.
They specify #!usr/bin/perl -- on one of the links that you have supplied me with:
http://easily.co.uk/index.php3?exe=faq&sb=n&do=d&group_id=5&id=217
1) Do you need to include the -- after perl word or is it just “ #!usr/bin/perl “
2) Can I use cgi scripts outside of the cgi-bin ore do they have to be placed in the cgi-bin?
3) What about file permissions on this server would this stop cgi scripts from working?
4) I am new to cgi and was wondering if there is any good step by step guides for setting up various cgi scripts using perl and php on a server.
5) in your reply how did you place my questions in boxes?
Thanks in advance,
Dom |
|
|
|
|
SfCommand
Senior WebHelper
Joined: 10 Nov 2002
Posts: 143
Location: UK
|
Posted:
Sat Jan 17, 2004 11:57 am (20 years, 3 months ago) |
|
domuk wrote: | 1) Do you need to include the -- after perl word or is it just “ #!usr/bin/perl “ |
No, I don't believe you do. (Tho if someone for who perl works could double check this for me).
domuk wrote: | 2) Can I use cgi scripts outside of the cgi-bin ore do they have to be placed in the cgi-bin? |
Since you can make .htaccess files, you can use an .htaccess file to run cgi scripts outside the cgi-bin
[code]Options +ExecCGI
AddHandler cgi-script .cgidomuk wrote: | "domuk"]3) What about file permissions on this server would this stop cgi scripts from working? |
Perhaps. CGI scripts should be CHMODd to 755 under PLESK
domuk wrote: | 4) I am new to cgi and was wondering if there is any good step by step guides for setting up various cgi scripts using perl and php on a server. |
Dunno, perl doesn't like me, so doesn't work for me
domuk wrote: | 5) in your reply how did you place my questions in boxes? |
I used the [ quote] [ /quote] tags (without spaces of course) |
________________________________ Miguel
http://community.34sp.com
http://www.miguel.me.uk | http://www.sfcommand.co.uk | http://www.ssdg.org.uk |
|
|
|
domuk
WebHelper
Joined: 15 Jan 2004
Posts: 91
|
Posted:
Sat Jan 17, 2004 12:22 pm (20 years, 3 months ago) |
|
Thanks again Miguel,
Quote: | Perhaps. CGI scripts should be CHMODd to 755 under PLESK |
1) How do i set up CHMODd 755 in windown xp ftp?
2) Do you use Easily? |
|
|
|
|
SfCommand
Senior WebHelper
Joined: 10 Nov 2002
Posts: 143
Location: UK
|
Posted:
Sat Jan 17, 2004 3:33 pm (20 years, 3 months ago) |
|
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Sat Jan 17, 2004 5:35 pm (20 years, 3 months ago) |
|
|
|
|
Ian bell
Junior WebHelper
Joined: 23 Jul 2014
Posts: 2
|
Posted:
Wed Jul 23, 2014 3:01 pm (9 years, 9 months ago) |
|
|
|
|
|
Page generation time: 0.198988 seconds :: 19 queries executed :: All Times are GMT
Powered by
phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme