Home Drupal 7 only works with index.php in url. Want to use friendly clean url
Reply: 1

Drupal 7 only works with index.php in url. Want to use friendly clean url

shiva
1#
shiva Published in 2017-11-09 10:17:26Z

Installed drupal 7 in rhel server. I can able to access the pages with index.php. Without index.php, page is redirecting to 404. My root application folder is var/www/html/sivaraj

sivaraj.com/index.php/profile - works fine

sivaraj.com/profile - getting 404

mode_rewrite is enabled in apache.

<Directory "/var/www/html">
   Options Indexes FollowSymLinks
   AllowOverride None
   Allow From All
   Require All Granted
</Directory>

When change AllowOverride to All gives Internal Server Error 500

<Directory "/var/www/html">
   Options Indexes FollowSymLinks
   AllowOverride None
   Allow From All
   Require All Granted
</Directory>

Didn't change anything in drupal default .htaccess. Tried with RewriteRule to remove index.php nothing worked.

Hoang Minh Dung
2#
Hoang Minh Dung Reply to 2017-11-09 15:54:47Z

try to change AllowOverride None to AllowOverride All Also Apache should be restarted afterwards

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.348826 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO