View Full Version : htaccess

10-03-2003, 06:41 AM
Q: Is it possible with PhpDig to search in files that are protected by .htaccess?

10-05-2003, 09:51 AM
Hi. If you want to search files protected by .htaccess, you could try to crawl the following:


but personally I wouldn't recommend it.

10-10-2003, 02:02 AM
Can you tell me why not?

10-11-2003, 04:53 AM
Hi. I wouldn't do it because other people may be able to read the username and password if sent via plain text. If you are trying to crawl files in a .htaccess protected directory, maybe remove the .htaccess file, make the crawl, and then restore the .htacess file. That way the contents can be searched but when a user clicks a related link, they would get the prompted for a username and password. However, if the files in the .htaccess protected directory are for members only, and you do a crawl like suggested above, then it could be possible for non-members to read your protected content if they can find the files in the text_content directory.

10-11-2003, 06:29 AM
Thanks for your help so far.
I will keep on thinking for a solution.
Suggestions still welcome...