Welcome to WebmasterWorld Guest from 54.196.243.192

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

.htaccess - stupid question :o)

     
2:35 pm on Mar 30, 2002 (gmt 0)

Senior Member from GB 

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Nov 27, 2001
posts:1156
votes: 2


I will be moving a clients site to a host running a windows platform, does .htaccess work the same on Windows ?

probably a stupid question :)

regards

Dazz

3:00 pm on Mar 30, 2002 (gmt 0)

Full Member

10+ Year Member

joined:Feb 24, 2002
posts:289
votes: 0


i'm running an apache on windows and everything works fine for me :)
3:00 pm on Mar 30, 2002 (gmt 0)

Full Member

10+ Year Member

joined:Mar 14, 2002
posts:325
votes: 0


Using Apache it does. Don't know what happens using IIS.
3:28 pm on Mar 30, 2002 (gmt 0)

Senior Member from GB 

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Nov 27, 2001
posts:1156
votes: 2


Thanks,

I will phone the host and ask, I thought it was a stupid question ;)

Dazz

4:01 pm on Mar 30, 2002 (gmt 0)

Senior Member from GB 

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Nov 27, 2001
posts:1156
votes: 2


OK,

not such a simple question ;) or maybe it is :)

The host are using IIS 5, is there an equivalent to .htaccess ?? if not are there any techniques that can be used ??

Thanks in advance as always

Dazz

8:03 pm on Mar 30, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member txbakers is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Sept 1, 2001
posts:4392
votes: 0


.htaccess doesn't work on IIS servers. (at least I haven't been able to get it to work)

You would need to do security with ASP or other type of security.

12:14 am on Mar 31, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 21, 1999
posts:2141
votes: 0


An .htaccess is a configuration file used with an Apache server. IIS can do most of the same things that can be managed by an .htaccess but different techniques are used to accomplish them.

A common use of .htaccess is redirecting a visitor's page request to another page. As an example, this page [iisadministrator.com] describes some methods to redirect visitors on IIS.

11:55 am on Mar 31, 2002 (gmt 0)

Senior Member from GB 

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Nov 27, 2001
posts:1156
votes: 2


What about denying access to certain IPs ?

How would I go about that ?

(I have told this client that it is a lot of trouble to move to a Windows platform (changing the shebang line ;)) but they have already paid for the hosting.

All Help Greatly Appreciated

Dazz

3:16 pm on Mar 31, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member txbakers is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Sept 1, 2001
posts:4392
votes: 0


on a windows platform you shouldn't have to replace the shebang line - Windows just ignores it anyway.