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? Link to comment https://forums.phpfreaks.com/topic/76227-why-mod_rewrite-doesnt-work-on-apache-226/ 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. Link to comment https://forums.phpfreaks.com/topic/76227-why-mod_rewrite-doesnt-work-on-apache-226/#findComment-389183 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.