Last updated July 21, 2010. Created by faqing on October 26, 2007.
Edited by silverwing. Log in to edit this page.
For EasyPHP 2
1. Uncomment this:#LoadModule rewrite_module modules/mod_rewrite.so
2. Under <Directory "${path}/www"> Change
AllowOverride None
toAllowOverride All
Comments
Display problem in STEP 2
Display problem in STEP 2 title:
Please, under *what* should the change be made?
I precise, that the change should be made in the file (on Windows) C:\Program Files\EasyPHP_2.0b1\conf_files\httpd.conf
Thanx in advance, regards
A.R.
Problem is still there
I had made all these changes into the file httpd.conf but I still couldn't activate clean url in Drupal.
Alias for my site has been created with EasyPHP Administration page.
I have made some tests:
- According to phpinfo(), rewrite module is loaded.
- If I write an RewriteRule in the file .htacces of Drupal, it's OK.
Anyone can help me?
C. Bougoüin
AJLSM
Christine Bougoüin
AJLSM
had same problem--but fixed it
I had the same problem. After some time poking around in the httpd.conf file I saw that there were 2 "AllowOverride" statements that needed to be set to all. (Following instructions above, I had only changed the first "AllowOverride". Here's what I did, and it worked:
In httpd.conf:
uncomment this line:
LoadModule rewrite_module modules/mod_rewrite.so
Do a Find on "AllowOverride"
Change to: AllowOverride All
Should be two "AllowOverride All" statements.
Works for me now.
Best
lara
Kind of logical but not listed
To enable clean URL's for aliased directories:
(Instead of step 2)
With existing aliases: go to the bottom of httpd.conf (you may want to open this file in a linux-newline aware editor).
Find the "Alias" that corresponds to your directory. Change
AllowOverrideto All in the<directory>block corresponding to your alias.For new aliases: just be sure to change
AllowOverridetoAll.Now go to your Drupal directory's .htaccess file and and find the line with
RewriteBase. Uncomment or add the line withRewriteBase /derp. Wherederpis replaced by the alias (the thing you type in your browser) without trailing slash.By the way in my experience, it is not necessary to change "all" occurences of AllowOverride
This helped me fix my pb.
This helped me fix my pb.
htaccess with Alias
Your informations are very interesting but they do not solve my problem.
I use easyphp version 2.0,
spip version 2.0.10
URL chosen are : article.html.
My site in local ( directory www) works perfectly.
The same site in Alias the ".htaccess" is INVISIBLE.
Apache configuration is identical as this of local one and le spécific configuration of Alias is :
Alias "/Spip2010pur" "C:/PROG_SPIP2010pur/spip/"
Options FollowSymLinks Indexes
AllowOverride All
Order deny,allow
Allow from 127.0.0.1
allow from all
In file ".htaccess" is written:
RewriteBase /Spip2010pur
ou RewriteBase /Spip2010pur/spip
Anyone can help me. Thanks
Jean
thanks Subversive
this worked for me too! Thanks Subversive!
Thx
This helped me fix my pb.
EzMMSystems.com
Denied!
Hello guys, brazilian newbie here!
I did everything as you said and my .htaccess file is finally working, BUT, since i got it working, i cannot access my website 'cause i receive an 403 error (access denied).
OK, OK, you can laugh, as i said, i just started to work with drupal and server configuration so, this probably will be a piece of cake for you to solve, but not for me!
Can anyone please help me? Thanx!
P.S.: Sorry for the bad english!