home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 1697
Discussions: 188,402, Posts: 2,243,609, Members: 232,632
Old January 28th, 2005, 10:27 PM   Digg it!   #1 (permalink)
Senior Member
 
Join Date: Jun 2004
Location: Woodstock, VT
Posts: 517
Grrr cannot get .htaccess to work

I have done this before, but not today! Nope. Brain dead. I am doing something stupid.
FTP'ed in ASCII
Set permissions to 755 globally
Path to perl interpreter okay
Path to home directory according to webhost, but here's where I am blind a little.

When run, get "bad config" when try to run it.

Looking for some things to check, any ideas? Thanks!

Zoltar is offline   Reply With Quote
Old January 28th, 2005, 10:48 PM     #2 (permalink)
Did you try Google yet?
 
Siliconjunkie's Avatar
 
Join Date: Feb 2003
Location: Buckhannon, WV
Posts: 3,466
Send a message via AIM to Siliconjunkie
Why not post the contents of the .htaccess and what you are trying to do with it?
__________________
My computer is bigger than yours!

Siliconjunkie is offline   Reply With Quote
Old January 28th, 2005, 11:03 PM     #3 (permalink)
Senior Member
 
Join Date: Jun 2004
Location: Woodstock, VT
Posts: 517
The script itself is okay, I have used it before, it's just the config for different host, directory, etc. that is the problem. I prob will try some support from the web host, but that won't be until Monday.

Zoltar is offline   Reply With Quote
Old January 28th, 2005, 11:06 PM     #4 (permalink)
Newbie
 
filipino's Avatar
 
Join Date: May 2004
Location: Philippines
Posts: 3,894
are you trying to put password protected directory?
__________________
I miss Dimebag Darrell
filipino is offline   Reply With Quote
Old January 28th, 2005, 11:12 PM     #5 (permalink)
Did you try Google yet?
 
Siliconjunkie's Avatar
 
Join Date: Feb 2003
Location: Buckhannon, WV
Posts: 3,466
Send a message via AIM to Siliconjunkie
Well, you really aren't giving us much to work on. You have already covered the obvious things like paths.
Siliconjunkie is offline   Reply With Quote
Old January 28th, 2005, 11:15 PM     #6 (permalink)
Senior Member
 
Join Date: Jun 2004
Location: Woodstock, VT
Posts: 517
Yes, trying to password protect a directory. I am wondering if there is something wrong at the server end, so am going to throw it their way.
Zoltar is offline   Reply With Quote
Old January 28th, 2005, 11:18 PM     #7 (permalink)
Did you try Google yet?
 
Siliconjunkie's Avatar
 
Join Date: Feb 2003
Location: Buckhannon, WV
Posts: 3,466
Send a message via AIM to Siliconjunkie
99.99999% of the time, the problem is in the .htaccess, like you said a bad path or similar. I would be utterly amazed if it was a server problem.

Are you 110% certain that your paths and permissions are correct?

Also, you really should use binary mode when FTPing to a *nix server to avoid corrupt files.
Siliconjunkie is offline   Reply With Quote
Old January 28th, 2005, 11:19 PM     #8 (permalink)
Newbie
 
filipino's Avatar
 
Join Date: May 2004
Location: Philippines
Posts: 3,894
you need to specify directory on your .htaccess, open up your .htaccess file u sing notepad then you will see something like this

AuthName "private"
AuthType Basic
AuthUserFile /usr/local/apache/htdocs/yourdomain.com/directorynameyouwanttoputpassword/pwp-users
require valid-user

Last edited by filipino : January 28th, 2005 at 11:34 PM.
filipino is offline   Reply With Quote
Old January 28th, 2005, 11:29 PM     #9 (permalink)
Senior Member
 
Join Date: Jun 2004
Location: Woodstock, VT
Posts: 517
yeah, that's about it, the host provided the base format, not hard to modify *annoyed*!! BTW thanks, i keep looking it over but maybe in the morning it will click in.
Zoltar is offline   Reply With Quote
Old January 28th, 2005, 11:31 PM     #10 (permalink)
Did you try Google yet?
 
Siliconjunkie's Avatar
 
Join Date: Feb 2003
Location: Buckhannon, WV
Posts: 3,466
Send a message via AIM to Siliconjunkie
Why don't you post it? More eyes on it, not like there is anything secret in there.
Siliconjunkie is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can Reinstall Frontpage Extensions? upinya Applications and Operating Systems 0 June 11th, 2003 11:24 AM
.htaccess help embj Webmastering and Programming 6 February 2nd, 2003 10:38 PM
Website Traffic aznlurkerz Networking and Internet 1 August 14th, 2002 02:09 AM

Most Active Discussions
Is It Just Me? (2906)
3-days in and no threads about Gaza (161)
Unarmed man on his stomach shot by .. (6)
New Build ( Finally ) (7)
CPU wont boot (7)
Building a gaming computer advice (5)
I think I just killed my computer w.. (24)
RCA 52Inch HDTV wont turn on (5)
Folderchat Weekday thread (444)
Recent Discussions
Laptop proccesor to desktop mob.. (2)
Please help! multiple problems! (4)
RCA 52Inch HDTV wont turn on (5)
New Build ( Finally ) (7)
Common Spyware Solutions (97)
How do you move a hard-drive to.. (4)
What is the best external enclo.. (0)
Partition Magic 7.0 (Unallocate.. (17)
For cheap price and good qualit.. (1)
Blackberry Storm, Gears of War .. (1)
Core 2 Quad Q9550 system (3)
COWBOOM Ripoff! Used Laptop w/$.. (4)


All times are GMT -4. The time now is 04:24 AM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28