rushenas Posted November 6, 2007 Share Posted November 6, 2007 Hi all Can somebody tell me, what is the differences between Apache 1.3 family vs. 2.0 family? I need Apache uses mod_rewrite, basic authentication via browser, also supports PHP 5+. I run the following command for both version 2.2.6 and 1.3.39, but mod_rewrite only actives in 1.3.39. Why I can't enable it for 2.2.6? ./configure --prefix=/usr/local/apache --enable-module=so --enable-module=rewrite --enable-module=proxy --enable-shared=rewrite What must I do for using mod_rewrite in 2.2.6, too? Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted November 11, 2007 Share Posted November 11, 2007 Don't you just uncomment the mod_rewrite module within the httpd.conf? Find: #LoadModule rewrite_module modules/mod_rewrite.so Remove the # from the start of the line. Save the httpd.conf and restart Apache. Mod_rewrite should now be available. If you use mod_rewrite within .htaccess files make sure you have set the AllowOverride directive to All within the main <Directory></Directory> directive. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.