Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
htaccess problems
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- htaccess problems
htaccess problems
03-12-2015 1:08 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Tubby's on the phone no good on this one.... I've recently changed accounts at PlusNet, under my old one, which I've had for years, i had 3 directories protected by .htaccess/.htpassed files so only customers could download files. All worked perfectly...
Transferred the whole shooting match over to the new username, altered the username in the .htaccess, and these are being picked up BUT... when I put in a valid uername/password combination, i get:
500 Internal Server Error
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@plus.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Any ideas as tech support are useless on this.
Transferred the whole shooting match over to the new username, altered the username in the .htaccess, and these are being picked up BUT... when I put in a valid uername/password combination, i get:
500 Internal Server Error
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@plus.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Any ideas as tech support are useless on this.
Message 1 of 9
(2,000 Views)
8 REPLIES 8
Re: htaccess problems
03-12-2015 1:26 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I assume you edited the .htaccess and .htpasswd files using a text editor on a Windows PC. When you uploaded the amended files did you transfer them as text (ASCII) or binary? That misconfiguration error is frequently caused by the line endings in the files being Windows style (CRLF) rather than Linux (just LF). A text transfer is required.
David
Message 2 of 9
(642 Views)
Re: htaccess problems
03-12-2015 4:29 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Thanks - I think it was notepad++ i used, but I'll reinstall textpad and save as unix.
Message 3 of 9
(642 Views)
Re: htaccess problems
03-12-2015 4:47 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
OK, so - edited with Textpad to ensure UNIX line ends. Forced binary transfer.
Still giving me 500 server error.
This all worked perfectly under another account name.
Is there something PN have to "switch on"?
Still giving me 500 server error.
This all worked perfectly under another account name.
Is there something PN have to "switch on"?
Message 4 of 9
(642 Views)
Re: htaccess problems
03-12-2015 5:44 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Nothing needs switching on beyond the standard set up as far as I'm aware. Is this on Homepages (static HTML) or CCGI webspace?
Does access to the directories work normally if the .htaccess and .htpasswd files are disabled (albeit allowing access to what should be protected content)?
Does access to the directories work normally if the .htaccess and .htpasswd files are disabled (albeit allowing access to what should be protected content)?
David
Message 5 of 9
(642 Views)
Re: htaccess problems
04-12-2015 12:30 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
It's normal HTML space (in htdocs), and yes, it works normally if I take them out. The wierd thing is it all worked perfectly (still does actually) in the old html space.
Message 6 of 9
(642 Views)
Re: htaccess problems
04-12-2015 12:39 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
My .htaccess file is:
AuthUserFile /share/isp/plusnet/www/ic/<MyUserName>/htdocs/test/.htpasswd
AuthGroupFile /dev/null
AuthName Password required
AuthType Basic
require valid-user
My old username began with ic, so I asked if the ic is static, of the first two characters of the username - i was told the former.
AuthUserFile /share/isp/plusnet/www/ic/<MyUserName>/htdocs/test/.htpasswd
AuthGroupFile /dev/null
AuthName Password required
AuthType Basic
require valid-user
My old username began with ic, so I asked if the ic is static, of the first two characters of the username - i was told the former.
Message 7 of 9
(642 Views)
Re: htaccess problems
04-12-2015 12:53 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Well my understanding is that the characters ic need to be replaced by the first two characters of your new username. That applies in my case and is what the How to password protect your website guide says.
David
Message 8 of 9
(642 Views)
Re: htaccess problems
04-12-2015 9:36 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Thank you! The idiots in chat said the IC was static regardless of username...
Seems to be working now - thank you for your time.
Tym
Seems to be working now - thank you for your time.
Tym
Message 9 of 9
(642 Views)
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page