SmartFAQ is developed by The SmartFactory (http://www.smartfactory.ca), a division of InBox Solutions (http://www.inboxsolutions.net)

How do I use .htaccess file?
  Requested by Carnuke and Answered by Jegelstaff on 2005/1/5 21:28:53     9749  reads 
If a quick google search hasn't answered this question for you already, here's some direct links to the top hits that all have excellent and comprehensive information about how to work with .htaccess files:

http://www.javascriptkit.com/howto/htaccess.shtml
http://httpd.apache.org/docs/howto/htaccess.html
http://apache-server.com/tutorials/ATusing-htaccess.html
http://www.freewebmasterhelp.com/tutorials/htaccess/

In a nutshell, .htaccess files are files that you put on your server in a particular place (where depends on your sever's configuration). The most common use of the is to password protect directories at the server level, so all files, including images, require a password to get to. When you go to a page that is inside a directory that is protected with .htaccess, your web browser pops up a username and password box.

Check the above pages for details about how to configure the .htaccess file, where to put it and how to setup its associated password and group files. Good luck!

--Julian


The comments are owned by the author. We aren't responsible for their content.
user

 .htacess & smart quotes


Hi,

Could someone point out specifically:

1. where I can find the necessary .htaccess code I need to insert to prevent the "\" appearing before quotes in the AMS module?

2. tell me how to implement it?

Thank you!

 
user

 Example of .htaccess 2.0.14 with Protector?


Could someone give me an example of a working .htaccess file for XOOPS 2.0.14 and Protector 2.52 module?
This attempt:
Quote:

DirectoryIndex index.php
php_flag register_globals off
php_admin_flag allow_url_fopen off

is making my site unavailable.

Any help or comments are highly appreciated!

 
user

 Re: Example of .htaccess 2.0.14 with Protector?


What do you mean by "unavailable"?

Try removing this; you can't use it in an .htaccess file:

php_admin_flag allow_url_fopen off

 
user

 Re: Example of .htaccess 2.0.14 with Protector?


You will also need to ask your webhost to set "AllowOverride Options" or "AllowOverride All" for your website before you can set php_flag in your .htaccess

For more info check out this website.

Rob

 


Login

Username:
Password:

Lost Password? Register now!

Who's Online

62 user(s) are online (2 user(s) are browsing XOOPS FAQ)


Members: 0


Guests: 62


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Did you know ?

There is a flash tutorial explaining exactly how to add some first content to your new site!

Random question

Can I share databases across multiple installations?