Clean url not running on local host

rajeshkumarsingh - November 15, 2008 - 04:37

Hi,
I m new to drupal.Plz tell me how to remove ?q= In the url.
What changes i will have to make in .htaccess file

Thanks,
Raju.

Are you running apache or

nevets - November 15, 2008 - 04:54

Are you running apache or IIS for you web server?

Apache

rajeshkumarsingh - November 15, 2008 - 05:10

Will i have to make some thing comment in .htaccess file.

Thanks,
raju.

Since it is local install,

nevets - November 15, 2008 - 05:29

Since it is local install, look where you installed Apache. Look in the conf directory for httpd.conf. Edit the file, search for the line with mod_rewrite. It is likely commented out (line starts with #). If this is the case uncomment the line and restart Apache.

Done but not working

rajeshkumarsingh - November 15, 2008 - 05:45

I have done it like that but the problem still comes.
Whether i will have to make some changes in .htaccess file.

Thanks,
Raju.

Done

rajeshkumarsingh - November 15, 2008 - 06:40

Thanks a lot I have done it.

Beside abling mod-rewrite,

seanray - November 16, 2008 - 00:00

Beside enabling mod-rewrite, you need to change the AllowOverride of your Drupal folder so that .htaccess will take effective.

below is an example, change the directory "/" to where you install your Drupal

Directory /
Options FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
/Directory

Best Drupal Hosting | Affordable Web Hosting | Drupal Tutorials

have u enable clean url in

mm167 - November 15, 2008 - 06:11

have u enable clean url in admin page??

administer -> clean Url

Enabled

rajeshkumarsingh - November 15, 2008 - 06:19

Actually when i m going to admin->clean url. Radio buttons r disabled.
After that i m running the run clean url test,but it takes me to the 404 object not found.
That's why i m not able to enable it.

Thanks,
Raju

 
 

Drupal is a registered trademark of Dries Buytaert.