» Host multiple domains in one plan
» Manage all your domains in one control panel
» Both Windows and Linux Options
» Windows Plans starting at .95 per month
» Linux Plans starting at .95 per month
» Windows Plan: MS SQL 2005 Database Included
 
Window Plans   Linux Plans
 
Close  
Accu Web Hosting Accu Web Hosting Accuweb Hosting
Accu Web Hosting Accu Web Hosting Window Hosting Home Accu Web Hosting Window Hosting Accu Web Hosting PHP Hosting Accu Web Hosting Reseller Accu Web Hosting SQL Hosting Accu Web Hosting   accu web hosting
 

Go Back   Web Hosting Technical Support Discussion Forum > General Web Hosting Discussion Forum and Support > How To's

How To's Post How to's over here... Please do NOT post support queries in this forum.

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 08-19-2007
Junior Member
 
Join Date: Aug 2007
Posts: 3
Rep Power: 0
blckspder is on a distinguished road
Default creating a .htaccess file

Hello,
i was wondering how to setup a .htaccess file and where to put it on the server?? I want to use forceType to recognize files for use with PHP cause I am setting up clean urls.. Please let me know and I appreciate the help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 08-21-2007
Administrator
 
Join Date: Mar 2007
Posts: 7
Rep Power: 10
admin has disabled reputation
Default Re: creating a .htaccess file

Hi,

It seems that you want to convert .php extension files to .html extension files. Just add following lines to your .htaccess file ...

AddType application/x-httpd-php .php .html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-22-2007
Junior Member
 
Join Date: Jun 2006
Posts: 26
Rep Power: 0
John_Accuwebhosting is on a distinguished road
Default Re: creating a .htaccess file

Hello,

The .htaccess file will automatically be created once your domain will host on Linuxserver. You do not need to create it manually. You can find it inside the 'public_html' folder. You just need to place the code
AddType application/x-httpd-php .php .html there to perform it.
__________________
John D.
Support Technician,
accuwebhosting.com
Windows based hosting
Linux based hosting
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 08-22-2007
Junior Member
 
Join Date: Aug 2007
Posts: 3
Rep Power: 0
blckspder is on a distinguished road
Default Re: creating a .htaccess file

I think I am on the windows server not the linux box... I tried creating my own .htaccess and it didn't work.. and what I want to do it to make a url that looks like this:

example.com/index.php

to

example.com/index

without actually removing the php file.... I just wanted to see if there was a way from stopping apache from displaying file extensions.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 08-23-2007
Junior Member
 
Join Date: Jun 2006
Posts: 26
Rep Power: 0
John_Accuwebhosting is on a distinguished road
Default Re: creating a .htaccess file

Windows uses IIS as a web server not apache, also there is nothing like .htaccess file in windows. Looking forward if there is any way you can do this in windows.
__________________
John D.
Support Technician,
accuwebhosting.com
Windows based hosting
Linux based hosting
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 12:32 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC5
http://www.accuwebhosting.com/terms.htm

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32