I already have set up other sites on this server with clean urls, but when I go to do the clean url test for two new sites I set up, it goes to the main page (which I guess is a page not found move). But, I know the server is configured to run clean urls. So, what could be up?

Comments

pasqualle’s picture

OS?
HTTP server?
Drupal versions?

sambtaylor’s picture

Drupal version 5.3.

I'm afraid I don't know the other info.

vm’s picture

I'm afraid I don't know the other info.

That information is VERY important and you should be doing everything in your power to know what system your Drupal is installed on.

goto administer -> status logs and see what Drupal is reporting as your versions of

PHP
Apache
MySQL

sambtaylor’s picture

Apache/2.2.6 (Unix)
MySQL database 5.0.27
PHP 5.2.4

In any case, the greater question is why would clean urls work on one site and not on another, on the same server (and neither the root domain name of the hosting).

vm’s picture

I don't have an answer, you are on the bleeding edge of all three pieces of your OS. Could be something OS specific.

I don't have a sandbox running that specific setup yet.

If this is a host setup, you could also ask your host why mod_rewrite is working in some but not all directories.

sambtaylor’s picture

What does it mean that the url test defaults to the main page. It does not report any 404 page not found error in the log. Does it simply mean the test is failing, or something else?

Is mod_rewrite normally set up on a host so that it works for the whole site. IS there anything that might limit it?

Is there anything in Drupal that could affect whether it works? Anything beside mod_rewrite?

vm’s picture

Does it simply mean the test is failing, or something else?

means you are failing.

Is mod_rewrite normally set up on a host so that it works for the whole site. IS there anything that might limit it?

"normally" is a bit of a problem word. You host has control over their system and how and where things work. They can of course limit it any way they see fit. There can also be an oversight on their part. Otherwise if the server is yours, you have total control.

Is there anything in Drupal that could affect whether it works? Anything beside mod_rewrite?

if your .htaccess file is misplaced, corrupted could have an effect.

more information on mod_rewrite can be found: http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html

sambtaylor’s picture

That's it exactly. Just late last night I figured this out. The htaccess file had gotten corrupted. I replaced it and it works fine now. Thanks.

uniyolu.com’s picture

I think you should try new version 6.14. I am using this version and i have no problem with it.
---
http://uniyolu.com