When I try to run the clean URL test in 5.0 beta 2, at http://mysite/admin/settings/clean-urls, I get a 404 error. I've had no problem doing this in 4.7, but I haven't tried 5.0 beta 1. So is it not working right now, or am I doing something wrong?

Also, I can't seem to add to the list of allowed tags in the Filtered HTML list as I did in 4.7, did that option get moved to somewhere else?

Thanks

Comments

bvicarious’s picture

To add to that, when I create content, such as a story, all of the options fields except for the content and log message are collapsed and are not expandable. There must be something fundamental I'm missing here, can anyone help?

morphir’s picture

to enable clean url you need the mod_rewrite module for apache.
Then specify what directory you need mod_rewrite to work its magic(in the virtual host .config file).

Search drupal.org!

TIPS: xampp has enabled mod_rewrite by default.

morphir.com

bvicarious’s picture

I have mod_rewrite. but drupal makes you run the test before you can enable clean urls, and when i try to run that test it gives me the 404 error.. as in, the test cannot be run at all. I was able to run the test and enable clean urls in 4.7, so something must've changed in 5.0 that I'm not aware of.

and an update on collapsable fields, they work fine in opera but not in firefox... on multiple machines. ugh.

bvicarious’s picture

It turned out that firefox was buggin on me and wouldn't do the collapseable menu thing, a quick clearing of the cache and restart did the trick.

However I still can't run the Clean URLs test, and I am still getting a 404 not found when I try to do so. Is there a way to override this test and just enable Clean URLs, or should I be reinstalling 5.0 now? Has anyone had this problem?

Heine’s picture

The purpose of the "test before enable" is that you do not enable clean urls on an unprepared (Apache) configuration, and end up with a nearly unusable site.

The 404 is indicative of a failed test.

You can test whether your installation is able to support clean urls by visiting

http://example.com/user or http://example.com/node

If you wish to enable clean urls, open the relevant settings.php (sites/default/settings.php), and add to the end of the file:

$conf = array('clean_url' => 1); 

--
The Manual | Troubleshooting FAQ | Tips for posting | How to report a security issue.

bvicarious’s picture

Is there any indication as to what changed in 5.0 beta 2 that is resulting in the error? I still have a 4.7 site running on the same server with Clean URLs, so Apache is prepared for that configuration... but not with 5.0?

Heine’s picture

It's unlikely that 5 is the cause.

Check the server configuration for the 5 directory (ie whether AllowedOverride is properly set and RewriteBase in .htaccess is correct). Sometimes physical directories on the server interfere, which could be the case when your webhost creates an 'admin' directory in your drupal installation.
--
The Manual | Troubleshooting FAQ | Tips for posting | How to report a security issue.