- Messages
- 12,934
- Reaction score
- 6
- Points
- 38
When x10hosting gives you the host, it cames with a .htaccess
That's what my .htaccess has...
I want to install a script that needs an .htaccess....
The script has this code in the .htaccess
Is the .htaccess given by x10hosting necessary? If it is, can i put both codes in the .htaccess and it won't mess up ? Should i put the one of the NukeSentilen first?
Thanks,
fedlerner
Code:
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.easymoney.x10hosting.com
AuthUserFile /home/fedlerne/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/fedlerne/public_html/_vti_pvt/service.grp
That's what my .htaccess has...
I want to install a script that needs an .htaccess....
The script has this code in the .htaccess
Code:
Options All -Indexes
DirectoryIndex index.php index.htm index.html
# -------------------------------------------
# Start of NukeSentinel(tm) admin.php Auth
# -------------------------------------------
<Files .ftaccess>
deny from all
</Files>
<Files .staccess>
deny from all
</Files>
<Files admin.php>
<Limit GET POST PUT>
require valid-user
</Limit>
AuthName "Restricted"
AuthType Basic
AuthUserFile /path/to/your/.staccess
</Files>
# -------------------------------------------
# Start of NukeSentinel(tm) DENY FROM area
# -------------------------------------------
Is the .htaccess given by x10hosting necessary? If it is, can i put both codes in the .htaccess and it won't mess up ? Should i put the one of the NukeSentilen first?
Thanks,
fedlerner
Last edited: