Page 2 of 2

Posted: Tue Jul 12, 2005 2:08 pm
by toontastic
Right I spoke to the server guys and they said this:
Hello, phil.

mod rewrite is already installed on server. but to use it, you need to
override some settings via .htaccess file. I've enabled AllowOverride
All for newcastle-online.com .

For example, I've created x.html and y.html (with 'x' and 'y' inside).
and created .htaccess which redirects x.html -> y.html. So, if you
will request:

http://www.newcastle-online.com/x.html
you will see 'y'. This is contents of y.html.

This is just to test that mod_rewrite is correctly working for your
site.
So from this info what needs to be in the htaccess file ? I'm getting more confused now I think :)

Thanks again.

Posted: Tue Jul 12, 2005 2:14 pm
by Guest
Just to add to this there are now 2 .htaccess files on my server now which seem to relate to what the server team have just told me. One says
RewriteEngine On
RewriteRule x.html y.html
this is called .htaccess

The other says
#AddType text/x-server-parsed-html .html
RewriteEngine On
RewriteRule /x.html /y.html
and this is called .htaccess-

Thanks,
Phil

Posted: Tue Jul 12, 2005 3:01 pm
by garvinhicking
I think the .htaccess~ is just a backup file.

You now need to: make .htaccess permissions 777. Go to s9y config panel. Change URL Rewriting from "None" to "mod_rewrite". Click on save. s9y now creates a new .htaccess file which has all propper RewriteRules inside of it. :)

Regards,
Garvin

Posted: Tue Jul 12, 2005 4:48 pm
by toontastic1
Great stuff all working now, thanks for all the help garvinhicking. WAHOO happy now :D

Posted: Tue Jul 12, 2005 10:12 pm
by gwilsonmail
go Magpies!!!!