Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What is an .htaccess script?

Status
Not open for further replies.

lanm

Programmer
Jul 7, 2005
244
US
What is an .htaccess script?

Is it only in PHP for Apache servers?

We're using an Exchange Hosting site, and they said we have to build our .htaccess script to limit users to a sub-domain.

Thanks!
 
Webmail? Outlook Webaccess runs on IIS and I don't think it can use .htaccess. Check into setting the root of a virtual server.

.htaccess files aren't scripts, they're configuration files to control access and are used by Apache. PHP doesn't use them at all.
 
It's a web Exchange service from 1and1.com.

They said I've got to use htaccess files to control access to some of our sub-domains.
 
.htaccess files pertain to the Apache webserver. Best would be for you to go to apache.org and search the HTTPD documentation for .htaccess syntax.
It will look somewhat like this:
Code:
<LIMIT GET POST>
allow from subdomain.domain.com
</LIMIT>

If they really don't know what they are talking about (i.e. it is IIS), then I recommend to change host.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top