Welcome to WebmasterWorld Guest from 54.159.214.250

Forum Moderators: open

Other than .htaccess

   
5:04 pm on Dec 2, 2001 (gmt 0)

10+ Year Member



Is there any other way to make the cloak script work than .htaccess?? My stupid hosting provider do not allow to use RewriteRule derective.

Thank you!

Air

7:36 pm on Dec 2, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Do you really need rewrite? or do you mean changing the extwnsion in .htaccess so that .htm and/or .html files will execute as .cgi?

>Is there any other way to make the cloak script work than .htaccess??
two choices really;

-run it with a .cgi extension (not recommended) ...or
-get a new provider

7:54 pm on Dec 2, 2001 (gmt 0)

10+ Year Member



:) Thanks! I thought so :)
I found free script and that worked with .htaccess. I realized that this is the only way to "catch" the spider on the early stage... Am I wrong??

Good idea about hosting anyway! :)
If you have some time, please, let me know what should the hosting provide allow, so I could use different cloak scripts?? I mean, what should I ask them when I will sign with them.. For example, there are a lot of such scripts and they seem all to work with .htaccess file..

Thanks a lot!

Air

9:11 pm on Dec 2, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>... Am I wrong??

No you're not wrong, invoking a server side script is the way to do it.

>let me know what should the hosting provide allow.....?

They should allow SSI, cgi, perl, and allow overrides in .htaccess files. These are pretty standard offerings, they aren't considered special (read higher cost features).

12:27 pm on Dec 3, 2001 (gmt 0)

10+ Year Member



Air, one more question!!
Could the cloak script in this way?:
That is simple SSI page..The script part is included to the page via SSI.. Then, the script "feeds" one page for the search engine and other for usual people..
I mean, if so, then .htaccess is no needed!!

Or am I wrong???

Thank you!

Air

1:03 pm on Dec 3, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>The script part is included to the page via SSI..

Yes that works!

>I mean, if so, then .htaccess is no needed!!

Ah, but then you would have to name your pages with .shtml extension at most hosts. With .htaccess overrides you can change this so that you continue to use .htm and/or .html while using SSI.

>Or am I wrong???

Not right or wrong, you just have more information now.

 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month