Hi everyone. I seem to be getting a 404 Not Found error when I click on some of the modules from the home page of my site: http://206.221.176.9/~krushkam/
I've searched the forums for an answer and none of the suggestions seem to work.
I do have and htaccess file
allowoverride is set to all
mod_rewrite is installed on the server.
permissions seem fine
Does anyone have any suggestions?
|
Dolphin doesn't work with IP/username addresses. You need to attach a domain or subdomain to the site. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
ahhh ok. Yaa i've been having nameserver issues. Ok once I get that straightened out it should be fine then. Thanks a lot. |
I've got the nameserver thing solved. but still getting the 404 error. Any other ideas anyone?
www.krushkam.com
|
I've got the nameserver thing solved. but still getting the 404 error. Any other ideas anyone?
www.krushkam.com
- Is there an .htaccess file in Dolphin's root directory?
- Is mod_rewrite (Apache) enabled?
Dolphin requires mod_rewrite for its permalinks. You can choose to disable them from Administration -> Settings -> Permalinks.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
|
Is this shared or VPS/dedicated hosting?
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
|
You stated in your first post that AllowOverride is set to All.
In the apache conf file there is normally more than one place where this is specified. Make sure you got the right one set to All.
Also check links to profiles, see if clicking on a member photo brings up the profile, or a 404 error.
Other things that use the htaccess file are forums, blogs and ads. So check to see if any of those are functioning.
https://www.deanbassett.com |
Try to add this in the .htaccess in the public_html, if its your root.
RewriteBase /~krushkam/
it will look like this after adding
<IfModule mod_php5.c>
php_flag allow_url_include Off
php_flag register_globals Off
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /~krushkam/
RewriteRule ^blogs/{0,1}$ modules/boonex/blogs/blogs.php [QSA,L]
RewriteRule ^blogs/all/{0,1}$ modules/boonex/blogs/blogs.php?action=all [QSA,L]
RewriteRule ^blogs/all/([0-9]+)/([0-9]+)/{0,1}$ modules/boonex/blogs/blogs.php?page=$2&per_page=$1 [QSA,L]
RewriteRule ^blogs/top/{0,1}$ modules/boonex/blogs/blogs.php?action=top_blogs [QSA,L]
RewriteRule ^blogs/top/([0-9]+)/([0-9]+)/{0,1}$ modules/boonex/blogs/blogs.php?action=top_blogs&page=$2&per_page=$1 [QSA,L]
..........................................................................................................
Just be careful when adding this and better use the cPanel default editor.
If this works then recheck the AllowOverride in httpd.conf file.
so much to do.... |
Oh, and on some servers, allthough i have never seen this problem on a dedicated you may need to add this to the .htaccess file directly under the line RewriteEngine on
RewriteBase /
https://www.deanbassett.com |
Try to add this in the .htaccess in the public_html, if its your root.
RewriteBase /~krushkam/
it will look like this after adding
<IfModule mod_php5.c>
php_flag allow_url_include Off
php_flag register_globals Off
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /~krushkam/
RewriteRule ^blogs/{0,1}$ modules/boonex/blogs/blogs.php [QSA,L]
RewriteRule ^blogs/all/{0,1}$ modules/boonex/blogs/blogs.php?action=all [QSA,L]
RewriteRule ^blogs/all/([0-9]+)/([0-9]+)/{0,1}$ modules/boonex/blogs/blogs.php?page=$2&per_page=$1 [QSA,L]
RewriteRule ^blogs/top/{0,1}$ modules/boonex/blogs/blogs.php?action=top_blogs [QSA,L]
RewriteRule ^blogs/top/([0-9]+)/([0-9]+)/{0,1}$ modules/boonex/blogs/blogs.php?action=top_blogs&page=$2&per_page=$1 [QSA,L]
..........................................................................................................
Just be careful when adding this and better use the cPanel default editor.
He stated he got his DNS issues resolved and switched to a domain name. So this would no longer apply.
https://www.deanbassett.com |
hmm! ya i think you are right.
RewriteBase / should be fine
Try to add this in the .htaccess in the public_html, if its your root.
RewriteBase /~krushkam/
it will look like this after adding
<IfModule mod_php5.c>
php_flag allow_url_include Off
php_flag register_globals Off
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /~krushkam/
RewriteRule ^blogs/{0,1}$ modules/boonex/blogs/blogs.php [QSA,L]
RewriteRule ^blogs/all/{0,1}$ modules/boonex/blogs/blogs.php?action=all [QSA,L]
RewriteRule ^blogs/all/([0-9]+)/([0-9]+)/{0,1}$ modules/boonex/blogs/blogs.php?page=$2&per_page=$1 [QSA,L]
RewriteRule ^blogs/top/{0,1}$ modules/boonex/blogs/blogs.php?action=top_blogs [QSA,L]
RewriteRule ^blogs/top/([0-9]+)/([0-9]+)/{0,1}$ modules/boonex/blogs/blogs.php?action=top_blogs&page=$2&per_page=$1 [QSA,L]
..........................................................................................................
Just be careful when adding this and better use the cPanel default editor.
He stated he got his DNS issues resolved and switched to a domain name. So this would no longer apply.
so much to do.... |
Thanks guys. Adding RewriteBase /~krushkam/ to the htaccess solved the issue. Much appreciated! |
Thanks guys. Adding RewriteBase /~krushkam/ to the htaccess solved the issue. Much appreciated!
I thought you said you got your DNS issues resolved. If so, you should have modified inc/header.inc.php to use the URL with the domain name insead of the ipaddress.
But whatever. If you happy with that, which i do not believe is correct, then fine.
https://www.deanbassett.com |
deano is right if you have pointed your domain and updated the header.inc.php correctly RewiteBase / should work fine also. Better would be you remove the username from there.
Thanks guys. Adding RewriteBase /~krushkam/ to the htaccess solved the issue. Much appreciated!
I thought you said you got your DNS issues resolved. If so, you should have modified inc/header.inc.php to use the URL with the domain name insead of the ipaddress.
But whatever. If you happy with that, which i do not believe is correct, then fine.
so much to do.... |