4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 Can I use mod_rewrite on f2s servers?
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
freemink
Junior WebHelper
Junior WebHelper


Joined: 08 Apr 2002
Posts: 5

PostPosted: Sun Jun 08, 2003 8:01 pm (14 years, 6 months ago) Reply with QuoteBack to Top

Hi,

I have been using .htaccess file for redirection and other purposes, but whenever I try mod_rewrite I get problems.

For instance:
Code:
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} "BadBot"
RewriteRule /.* / [F]


Produces the error:

Quote:
Forbidden
You don't have permission to access / on this server


In fact, just
Code:
RewriteEngine on


or
Code:
RewriteEngine off


Produces the same error:

Quote:
Forbidden
You don't have permission to access / on this server


According to PHP-Info the mod_rewrite module is loaded.

So, can I use mod_rewrite? If so, what is the correct syntax?

Thanks,
Darrell.
OfflineView User's ProfileFind all posts by freeminkSend Personal MessageYahoo Messenger
Justin
4WebHelp Addict
4WebHelp Addict


Joined: 07 Jan 2002
Posts: 1060

PostPosted: Sun Jun 08, 2003 9:57 pm (14 years, 6 months ago) Reply with QuoteBack to Top

Hiya,

You trying to use it on a .f2s.com subdomain or your own domain name?

Just I'll test the servers and see what I can do first thing tomorrow morning if you answer me the above.

Cheers
OfflineView User's ProfileFind all posts by JustinSend Personal MessageSend email
freemink
Junior WebHelper
Junior WebHelper


Joined: 08 Apr 2002
Posts: 5

PostPosted: Mon Jun 09, 2003 8:05 am (14 years, 6 months ago) Reply with QuoteBack to Top

Hi Justin,

Thanks for the quick response.
My website is: "www.tealeaf.f2s.com"

Regards,
Darrell.
OfflineView User's ProfileFind all posts by freeminkSend Personal MessageYahoo Messenger
Justin
4WebHelp Addict
4WebHelp Addict


Joined: 07 Jan 2002
Posts: 1060

PostPosted: Mon Jun 09, 2003 6:37 pm (14 years, 6 months ago) Reply with QuoteBack to Top

Hiya,

Will be checking it out tonight, sorry for the delay, been out on business all day and have a few calls to make tonight, but I will make time for it sometime soon.

What exactly do you want to use mod_rewrite to do?

Thanks
OfflineView User's ProfileFind all posts by JustinSend Personal MessageSend email
freemink
Junior WebHelper
Junior WebHelper


Joined: 08 Apr 2002
Posts: 5

PostPosted: Mon Jun 09, 2003 9:24 pm (14 years, 6 months ago) Reply with QuoteBack to Top

Hi Justin,

Received this from support@f2s
Quote:
Hi Darrell, unfortunately this function is used by internal server proccesses and cannot be used by your scripts..

Kind regards
Technical Support.


So, looks like I can't use mod_rewrite.

I wanted to use it as a means of banning robots - eg:

Code:
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} "BadBot"
RewriteRule /.* / [F]


Darrell.
OfflineView User's ProfileFind all posts by freeminkSend Personal MessageYahoo Messenger
DrZaytsev
Junior WebHelper
Junior WebHelper


Joined: 09 Jul 2002
Posts: 24
Location: Russia

PostPosted: Sat Sep 13, 2003 3:54 pm (14 years, 3 months ago) Reply with QuoteBack to Top

Oh, that's stupid to have mod_rewrite installed and don't let the customers use it Sad

________________________________
God is real unless declared as integer...
OfflineView User's ProfileFind all posts by DrZaytsevSend Personal MessageAOL Instant Messenger
chal.nikkal
Junior WebHelper
Junior WebHelper


Joined: 14 Jan 2015
Posts: 1

PostPosted: Wed Jan 14, 2015 3:44 pm (2 years, 11 months ago) Reply with QuoteBack to Top

You trying to use it on a .f2s.com subdomain or your own domain name?
Just I'll test the servers and see what I can do first thing tomorrow morning if you answer me the above.???

________________________________
spring
OfflineView User's ProfileFind all posts by chal.nikkalSend Personal Message
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot edit your posts in this forum.
You cannot delete your posts in this forum.
You cannot vote in polls in this forum.


Page generation time: 0.058813 seconds :: 17 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme