Hi,
I've set up web sharing, php & mysql so I can develop websites offline by using the address http://localhost/~myusername/
Now some of the sites work fine, and I can view them in my browsers, but there's one site that if I try to open, the pages just get downloaded instead of opened in the browser. I've checked permissions, and they're exactly the same as the permissions at the sites that do work. (644 or -rw-r--r--@)
As an example:
I go to
http://localhost/~myusername/site1/index.php
and the site opens fine and I can see it in my browser
now I go to:
http://localhost/~myusername/site2/index.php
and the browser asks me what I want to do with the file (or just downloads it in Safari's case)
Anybody have any ideas on how to fix this...the only thing that might be causing a problem is that I have a .htaccess file which is making my .html files be parsed as .php files
Attached is what Firefox shows when I try to browse to the page
I've set up web sharing, php & mysql so I can develop websites offline by using the address http://localhost/~myusername/
Now some of the sites work fine, and I can view them in my browsers, but there's one site that if I try to open, the pages just get downloaded instead of opened in the browser. I've checked permissions, and they're exactly the same as the permissions at the sites that do work. (644 or -rw-r--r--@)
As an example:
I go to
http://localhost/~myusername/site1/index.php
and the site opens fine and I can see it in my browser
now I go to:
http://localhost/~myusername/site2/index.php
and the browser asks me what I want to do with the file (or just downloads it in Safari's case)
Anybody have any ideas on how to fix this...the only thing that might be causing a problem is that I have a .htaccess file which is making my .html files be parsed as .php files
Attached is what Firefox shows when I try to browse to the page