We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

How can i get my .htaccess file back! | Forum

jeo
jeo Nov 1 '11
Iv been having problems for about a week now i cart get on to my site or anything and iv been told that my .htaccess file has been removed so can anyone help me get this back please. thanks if you can help
Max
Max Nov 1 '11
Make a new htaccess and put this in :

Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_URI} .*/http-bind
RewriteRule (.*) /http-bind [L]
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} !/ow_updates/index.php
RewriteCond %{REQUEST_URI} !/ow_updates/
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.raw|/[^.]*)$  [NC]
RewriteRule (.*) index.php
The Forum post is edited by Max Nov 1 '11
jeo
jeo Nov 1 '11
Thanks how can i create a new ware to i make it as?
Max
Max Nov 1 '11
create a new file text and put the content
Upload it to your server
With a FTP client like filezilla, rename it :)
jeo
jeo Nov 1 '11
ok sorry but i need a bit more detail like at first do i need to go on Files Manager and do i create a new file or new folder, second do i need to go on FTP Accounts then what? sorry i am very poor at all this :(
Max
Max Nov 1 '11
Ok
Yes, you need a FTP account to upload your file to the host.
Your htaccess must be in root folder of host, not in a folder.
If you have a file manager you can do with.
jeo
jeo Nov 1 '11
I kart do it :( i tryed to re-upload the oxwall script and still no change im finding this very hard to do 
Max
Max Nov 1 '11
Take the joinde file, unzip it and upload it to your root
The Forum post is edited by Max Nov 1 '11
Attachments:
  .htaccess.zip (0.37Kb)