|
#1
|
|||
|
|||
|
This is the page giving me a 404 error:
http://174.120.180.34/~nielsdb/database/admin/ htaccess (in /public_html/database/admin): Code:
AuthName "Authorisation required" AuthUserFile "/home/nielsdb/.htpasswds/public_html/database/admin/passwd" AuthType Basic require valid-user Code:
Niels:y6uyhUR7UFpLg I really have no clue why it is doing that though. Hoping for help ![]() sincerely, Nielsdb |
|
#2
|
||||
|
||||
|
Quote:
You have just one file inside "database" directory: aanmelding.php So, the 404 error is normal. Regards |
|
#3
|
|||
|
|||
|
The admin/ folder shows in the directory index when I delete the .htaccess file inside it...?
|
|
#4
|
||||
|
||||
|
see if it helps if you add a line:
RewriteEngine On in 1st line of the .htaccess file
__________________
quietFinn - netFinn Finland "Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss |
|
#5
|
|||
|
|||
|
Didn't work. Also tried deleting the .htaccess and htpasswd file and setting a new password with the "Password Protect Directories" function in cPanel, same 404 page.
|
|
#6
|
||||
|
||||
|
Quote:
I just see it now. There is a problem with htaccess: Wrong: Code:
AuthName "Authorisation required" AuthUserFile "/home/nielsdb/.htpasswds/public_html/database/admin/passwd" AuthType Basic require valid-user Code:
AuthType Basic AuthName "Authorisation required" AuthUserFile "/home/nielsdb/.htpasswds/public_html/database/admin/passwd" require valid-user George B. |
|
#7
|
||||
|
||||
|
Please use:
Code:
AuthName "Authorisation Required" AuthUserFile "/home/nielsdb/.htpasswds/public_html/database/admin/passwd" AuthType Basic require valid-user ErrorDocument 401 "Authorisation Required"
__________________
Musee U. L1 Systems Administrator || Systems Monitoring |
|
#8
|
|||
|
|||
|
That did the trick, thank you very much!
Sincerely, Nielsdb |
|
#9
|
||||
|
||||
|
This is a wrong move. Can you still restore it back inside the folder?
__________________
Dedicated HostGator Love |
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 404 page not found | soysce | Linux VPS Support | 4 | 03-05-2010 06:55 PM |
| Help with 404 page | bfuller | Webhosting | 3 | 08-11-2009 12:25 PM |
| 404 page not found | joebrown | Pre-Sales Questions | 1 | 06-01-2009 05:09 PM |
| 404 error page | Abdulaziz | Shared Hosting Support | 10 | 11-12-2008 05:16 PM |
| Getting a 404 on a .php page | woosterbert | Shared Hosting Support | 13 | 08-17-2008 12:42 PM |
All times are GMT -5. The time now is 06:53 AM.











