Hi folks,

I've run the clean URL test, and it works (?q=admin/settings appears as admin/settings), but it still won't let me enable it. Can anyone tell me if there's a way to force this option on that won't screw anything up?

In case it helps, I do not have access to my Apache configuration file and I can't use the "AllowOverride All" function. Also, I'm using NetFirms.ca to host my site.

Any help would be greatly appreciated!

Thanks & Cheers,
Andrew

Comments

dman’s picture

Behind the scenes, the little test that the server runs to see if clean-urls is possible, is it actually goes and requests a test page from itself.
This may give you a clue.
I've found that when messing around with servers and DNSs, if the server doesn't know what name it's being called, it won't find itself, and will claim clean-urls doesn't work.

Check your log for the call to
http://{sitename}/system/test/{random_gibberish}.png

Try requesting that file by hand from a shell on the server itself (eg with GET or WGET)

.dan.

http://www.coders.co.nz/

rivena’s picture

I'm sorry, but taken entirely out of context, this is just funny:

if the server doesn't know what name it's being called, it won't find itself

there is a page in the handbook on clean urls, but it is a bit scary looking. http://drupal.org/node/15365
^.^

Anisa.
-----------------------------------------------------------
Kindness builds stronger bonds than necessity.

www.animecards.org - 16,000 card scans and counting!
-----------------------------------------------------------

DustyNine’s picture

Hmm - thanks for the advice dman, but I took a look and I don't see any references to a file like that in any location on the server. Is there another way of forcing the check? I gather from some of the other information on clean URLs how to edit the MySQL table to turn the setting on, but I'd prefer to get it working right all around.

rivena’s picture

You said the test worked, but that it won't let you enable it?

Was there any time between the test and the enabling part? I found once that I had done the test, gone away, come back, and the enabling was grayed out until I did the test again.

Anisa.

-----------------------------------------------------------
Kindness builds stronger bonds than necessity.

www.animecards.org - 16,000 card scans and counting!
-----------------------------------------------------------

DustyNine’s picture

No time at all - I tried, and it was gray, tried again (and the url now read admin/settings) and it still was gray.

lakka’s picture

Try putting $conf['clean_url']=1 at the end of settings.php

DustyNine’s picture

That wasn't quite it - gave me an error, but when I fixed it, it worked perfect. In case people wonder it's:

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

Cheers!