Sorry about the reply to all. the htaccess files worked correctly on a wamp setup I had. All this happened once I did the big move to apache. On Wed, Dec 2, 2009 at 12:10 PM, Ashley Sheridan <ash@xxxxxxxxxxxxxxxxxxxx>wrote: > On Wed, 2009-12-02 at 12:10 +0100, Julian Muscat Doublesin wrote: > > I setup apache myself. That I'm sure of. I had a look at the php info and > saw that mod_write in enabled. I checked the conf file and made sure that > the AllowOverride is set to All. > > On Wed, Dec 2, 2009 at 11:55 AM, Ashley Sheridan <ash@xxxxxxxxxxxxxxxxxxxx> > wrote: > > > On Wed, 2009-12-02 at 11:55 +0100, Julian Muscat Doublesin wrote: > > is this the issue. > > On Wed, Dec 2, 2009 at 11:55 AM, Julian Muscat Doublesin < > opensourcekb@xxxxxxxxx> wrote: > > I am runnning both IIS and Apache. The php webites are hosted on Apacahe. > > > > On Wed, Dec 2, 2009 at 11:41 AM, Ashley Sheridan <ash@xxxxxxxxxxxxxxxxxxxx> > wrote: > > > On Wed, 2009-12-02 at 11:42 +0100, Julian Muscat Doublesin wrote: > > Yes - running IIS 7. > > On Wed, Dec 2, 2009 at 11:27 AM, Ashley Sheridan <ash@xxxxxxxxxxxxxxxxxxxx> > wrote: > > > On Wed, 2009-12-02 at 10:27 +0100, Julian Muscat Doublesin wrote: > > Hello Everyone, > > I am having trouble with the mod_rewrite. This is not working on windows > 64bit. I am also having trouble with the directory password protection. > However thse bot work perfectly on my UNIX Mac. > > >From my experince I can see that this is due to file system compatibility. > Can anyone confirm this. You would be of greate help as I am going through > HELL right now. Can any suggest the best Unix or Linx OS for hosting phph > websites and MySQL. > > Thank you very much in advanace. > > > > By any chance, are you using IIS on your Windows machine? > > Pretty much most hosting companies offer Linux web-hosting. My advice would > be to try and use a company based in the same country as you are, because > it's nice to be able to contact them during your hours when something goes > wrong. And be ready to accept that things may go wrong at some point. > > Thanks, > Ash > http://www.ashleysheridan.co.uk > > > > > > > > > That is why mod_rewrite isn't working! IIS doesn't support that. It has > something else instead, by a name I forget just now. Afaik, you have to > purchase the support for this other bit as an extra module though. > > > Thanks, > Ash > http://www.ashleysheridan.co.uk > > > > > > > > > > Are you sure the PHP ones are running under Apache? Just to check, see > what you get in the $_SERVER array. Also, have you checked to see if > mod_rewrite is enabled in the httpd.conf file? > > > > Thanks, > Ash > http://www.ashleysheridan.co.uk > > > > > > OK, what does your .htaccess file look like? Also, have you named it > correctly? It starts with a period (.) character, which Windows might > sometimes complain about. > > PS, don't forget to hit reply to all, as the last few messages I keep > having to copy the list back in! > > > Thanks, > Ash > http://www.ashleysheridan.co.uk > > >