I am getting a 404 when I try to view any of the modules or the forum. I have tried everythign I can think of to fix this. mod_rewrite is installed, .htaccess is in the root directory, etc, etc and still no love. I have tried a fresh install and copying the entire installed code froma working server, but no love. I'm not sure what to make of this. The code works on this system
FC11
apache 2.2.11
php 5.2.9
Not working on:
FC7
apache 2.2.8
php 5.2.6
any help would be greatly appreciated!
|
Ok. you say mod_rewrite is installed and the .htaccess file is there. That leaves the apache allow overrides setting.
Check your apache config file and see if AllowOverride is set to ALL.
More info on that apache directive can be found here. http://httpd.apache.org/docs/1.3/mod/core.html#allowoverride
https://www.deanbassett.com |
Well, you are my new best friend. I have been banging my head against the wall for 2 days on this. Why do you think dolphin 6 works fine on this same server?
Thank You!, Thank You!, Thank You!
|
Dolphin 6 should not work either. However, D6 has settings to allow permalinks to be shut off thus it would work without mod rewrite. As far as i know D7 does not have the permalinks options. I have no clue. I have not dug into D7 much yet.
https://www.deanbassett.com |
My D6 install is using mod_rewrite and the .htaccess file. I just confirmed it again to make sure I wasn't crazy. If mod rewrite wasn't working then none of my menus would be working in D6, unless there is something going on behind the scenes that I'm not aware of.
D7 has the ability to shutdown the permalinks on an individual module basis.
Oh well, maybe it will make sense one day, but for now it's working thanks to your reply.
|
Acutally, it would if you only have part of the .htaccess file installed and parts of it missing. Also depends on which links your hitting. If they have a page.php file in the dolphin root it will pull up a page, if not then it won't is a good rule of thumb but not always the case. |
from the link he attached
Note: AllowOverride is only valid in <Directory> sections, not in <Location> or <Files> sections, as implied by the Context section above.
When this directive is set to None, then .htaccess files are completely ignored. In this case, the server will not even attempt to read .htaccess files in the filesystem.
When this directive is set to All, then any directive which has the .htaccess Context is allowed in .htaccess files.
httpd.conf had AllowOverride set to None, but the D6 install was working fine using the .htaccess file and the same apaceh config. Thus why I never looked at httpd.conf or at mod_rewrite since I knew it was working on D6.
|
Yea, ok. but did d6 reside in the same directory d7 is in now.
Remember, allowoverride is a <directory> option. Meaning each directory hosting a site can have a different allowoverride setting. Perhaps there is more than one of these in your apache config file.
Also note that if you had all the permalinks off in D6 than the site would have worked with that option set to none.
So there are other posibilities.
https://www.deanbassett.com |
You're 100% correct. When I read your post, I went into the httpd.conf and set the global setting to All. I just went back in and found where my D6 directory had it set previously. That explains it. Thanks for your help. |
Hi , because i'm on IIS, i can't use mod_rewrite
I've disabled every permalinks and all work well but orca forum doesn't...
if i try to set the url to modules/?r=forum then i got an 404 error and the url adress has modules/install/
i got 404 in administration > modules > orca forum too
i have the forum page if i enter : modules/boonex/forum/ in the adress
but with bracket [[]] and Forum Post only show a loading animation
|