My site not directing links correctly.

Posted by mystycs on Server Fault See other posts from Server Fault or by mystycs
Published on 2010-05-01T14:29:54Z Indexed on 2010/05/01 14:38 UTC
Read the original article Hit count: 249

Filed under:
|
|

I have a site at http://badassmonkeys.com/ and when i click any of the links it does not direct it to the actual page but still pulls up the link. For some reason it works perfectly on linux cpanel and actually loads the pages, but on windows in apache, or in IIS even with a rewrite mod for it, it just doesnt work. The links dont go correctly.

Is it a php.ini setting? This is my htaccess file if curious, but it works perfect in linux, but not on windows....

DirectoryIndex index.html index.htm default.htm index.php
Options +FollowSymlinks
RewriteEngine on

RewriteRule ^(.*\.(css|swf|js|xml|gif|jpg))$ $1 [L,QSA,NE]
RewriteRule ^((images|contactus|css|blog|script|style|docs|admin|fck|swf|Scripts|includes|images|img|uploads|templates|js|css|calendar|expert_area|fckfiles|flvplayer|highslide)/.*) $1 [L,QSA,NE]
RewriteRule ((fb_login|phpinfo|aim|csql|info|cron|index|site|simg|img|ajax|ari|fck_install|ffmpeg_test|file|redirect|rss_blogs|rss_info)\.php) $1 [L,QSA,NE]
RewriteRule ^ajax/?$ ajax.php [L,QSA,NE]
RewriteRule ((xd_receiver)\.htm) $1 [L,QSA,NE]
RewriteRule ((google7a9ea27ccf395e97)\.html) $1 [L,QSA,NE]
RewriteRule ((favicon)\.ico) $1 [L,QSA,NE]
RewriteRule ((W4uFNrPc9U9SAfP7qiJFwCfp7vk)\.txt) $1 [L,QSA,NE]

RewriteRule ^(.*)$ index.php?htaccesss=%{HTTP_HOST}%{REQUEST_URI} [L,QSA,NE]

© Server Fault or respective owner

My site not directing links correctly.

Posted by mystycs on Stack Overflow See other posts from Stack Overflow or by mystycs
Published on 2010-05-01T14:26:00Z Indexed on 2010/05/01 14:37 UTC
Read the original article Hit count: 248

Filed under:
|
|
|

I have a site at http://badassmonkeys.com/ and when i click any of the links it does not direct it to the actual page but still pulls up the link. For some reason it works perfectly on linux cpanel and actually loads the pages, but on windows in apache, or in IIS even with a rewrite mod for it, it just doesnt work. The links dont go correctly.

Is it a php.ini setting? This is my htaccess file if curious, but it works perfect in linux, but not on windows....

DirectoryIndex index.html index.htm default.htm index.php
Options +FollowSymlinks
RewriteEngine on

RewriteRule ^(.*\.(css|swf|js|xml|gif|jpg))$ $1 [L,QSA,NE]
RewriteRule ^((images|contactus|css|blog|script|style|docs|admin|fck|swf|Scripts|includes|images|img|uploads|templates|js|css|calendar|expert_area|fckfiles|flvplayer|highslide)/.*) $1 [L,QSA,NE]
RewriteRule ((fb_login|phpinfo|aim|csql|info|cron|index|site|simg|img|ajax|ari|fck_install|ffmpeg_test|file|redirect|rss_blogs|rss_info)\.php) $1 [L,QSA,NE]
RewriteRule ^ajax/?$ ajax.php [L,QSA,NE]
RewriteRule ((xd_receiver)\.htm) $1 [L,QSA,NE]
RewriteRule ((google7a9ea27ccf395e97)\.html) $1 [L,QSA,NE]
RewriteRule ((favicon)\.ico) $1 [L,QSA,NE]
RewriteRule ((W4uFNrPc9U9SAfP7qiJFwCfp7vk)\.txt) $1 [L,QSA,NE]

RewriteRule ^(.*)$ index.php?htaccesss=%{HTTP_HOST}%{REQUEST_URI} [L,QSA,NE]

© Stack Overflow or respective owner

Related posts about Windows

Related posts about apache