Never heard of server reactor? I usually use XAMPP personally and I've never had an issue with .htaccess.
Also, what do you mean "trying to run multi mybb"? Are you making multiple installations? If so, you don't need .htaccess files >.<
Why would you want to run multiforums from a localhost environment? Unless your localhost is actually a webserver, of course, it's pointless.
.htaccess support depends on your configuration. If you're using apache, you have to set AllowOverride = All (or something like that).
i allready changed that in httpd.conf and in .htaccess
the script is working, i need to know if l.htaccess doesn't work in localhost environment because i want to test it first and make some changes with it before i purchase a web host
Generally, htaccess files should work. This one obviously has issues though.
You can always ask a host for a trial - some of the better ones let you do that for a day or less.
how to force wild card ? please !!!!!!
(2011-06-20, 02:29 PM)azeer Wrote: [ -> ]hi
how i can change this to make it work in localhost :
Options +FollowSymLinks
Options +Indexes
RewriteEngine On
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com$ [NC]
RewriteCond %{HTTP_HOST} ^(www\.)?([^\.]+)\.yourdomain\.com$ [NC]
RewriteRule (.*) /mybb/$1 [L]
is it ok to remove .com ?
thank you for your help
You don't need that rewrite for localhost. There is no such thing as www.localhost
Options +FollowSymLinks
Options +Indexes
RewriteEngine On
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteCond %{HTTP_HOST} !^localhost$ [NC]
RewriteCond %{HTTP_HOST} ^(http:\.)?([^\.]+)localhost$ [NC]
RewriteRule (.*)
http://localhost/mybb/$1 [L]
is this is correct?