Hey guys,
I have just password protected my adminCP directory and am finding that it wont even pop the prompt, rather it redirects me to the forum home.
Originally Posted by forumroot htaccess
Any ideas?Originally Posted by admincp htaccess
This is a discussion on Password Protected admincp + vBSEO = Forum Home within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Hey guys, I have just password protected my adminCP directory and am finding that it wont even pop the prompt, ...
Hey guys,
I have just password protected my adminCP directory and am finding that it wont even pop the prompt, rather it redirects me to the forum home.
Originally Posted by forumroot htaccess
Any ideas?Originally Posted by admincp htaccess
Ace Shattock / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
My Personal Sites: New Zealand Forum | vBulletin Modifications and Styles | New Zealand Food | New Zealand Android OS Talk | vBulletin Hosting
This is what i have in my admincp .htaccess
Also i dont have my admincp rewritten.#require valid-user
AuthType Basic
AuthName "Gizli Bölge"
AuthUserFile "/home/*****/.htpasswds/admincp/passwd"
require valid-user
Mert Gökçeimam / Crawlability Inc.
vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!
Twitter:@Depkac
Personal Blog : Mert Gökçeimam
Hello Ace,
please check your httpd.conf for the custom error handlers directives, like:
and make sure that all files file1(2,3).html are existing at your server.Code:ErrorDocument 401 /path/to/file1.html ErrorDocument 403 /path/to/file2.html ErrorDocument 404 /path/to/file3.html
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
I'm on Shared hosting.. don't think I have access to that.
Or do I?
Ace Shattock / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
My Personal Sites: New Zealand Forum | vBulletin Modifications and Styles | New Zealand Food | New Zealand Android OS Talk | vBulletin Hosting
And I dont have any custom error pages defined in /.htaccess![]()
Ace Shattock / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
My Personal Sites: New Zealand Forum | vBulletin Modifications and Styles | New Zealand Food | New Zealand Android OS Talk | vBulletin Hosting
It depends on the hosting platform, but in any case you can find this information out from your hosting support.I'm on Shared hosting.. don't think I have access to that.
Or do I?
The issue you reported is most likely related to this.
Yes, it is usually defined in httpd.conf.And I dont have any custom error pages defined in /.htaccess
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Is there something "wrong" with using it in .htaccess as provided by cPanel?
Ace Shattock / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
My Personal Sites: New Zealand Forum | vBulletin Modifications and Styles | New Zealand Food | New Zealand Android OS Talk | vBulletin Hosting
.htaccess content is fine - you should not change it. Just make sure that all files configured for custom error handling are existing.
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Thing is, I don't think I have any. None defined in .htaccess, and I doubt my host would have slipped in some incorrect ones to httpd.conf.
Waiting on confimration of this from him now.
Ace Shattock / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
My Personal Sites: New Zealand Forum | vBulletin Modifications and Styles | New Zealand Food | New Zealand Android OS Talk | vBulletin Hosting
Ok, let me know what you get from your host.
These directives (ErrorDocument) are correct, but you should just create the files specified.![]()
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
One more note, please try to add the following at the top of your .htaccess:
Code:ErrorDocument 401 default ErrorDocument 403 default ErrorDocument 404 default
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
OK.. this is now happening with my "testvb" instance.
I can't password protect it because if I do, I can't also turn off the vBSEO rewrites that are being passed down from the .htaccess in root (for my vBA portal).
Here's that .htaccess (remembering it is in root - forums are in /forums and I want to NOT have vBSEO rewriting on /testvb) .. what do I need to add to make /testvb unaffected?
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On
RewriteRule ^(sitemap.*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{HTTP_HOST} !^www\.nzboards\.com [NC]
RewriteRule ^(.*) http://www.nzboards.com/$1 [L,R=301]
# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums)
RewriteBase /forums
RewriteCond %{REQUEST_FILENAME} !upload/
RewriteCond %{REQUEST_FILENAME} !forums/
RewriteCond %{QUERY_STRING} !vbseourl=
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ forums/vbseo.php?vbseourl=$1&vbseorelpath=../&%{QUERY_STRING} [L]
RewriteCond %{REQUEST_FILENAME} !forums/
RewriteRule ^(.*.php)$ forums/vbseo.php?vbseourl=$1&vbseorelpath=../&%{QUERY_STRING} [L]
Ace Shattock / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
My Personal Sites: New Zealand Forum | vBulletin Modifications and Styles | New Zealand Food | New Zealand Android OS Talk | vBulletin Hosting
Please try to modify your .htaccess
FIND:
ADD BELOW:Code:RewriteCond %{REQUEST_FILENAME} !forums/
Code:RewriteCond %{REQUEST_FILENAME} !testvb/
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!