Hi,
I'm trying to get to grips with the power of MacOSX and am trying to set SSI up by following an article in MacWorld. Its pretty idiot proof - but I'm having problems! I'm the only user on the machine and am a Administrator Here's what I'm doing:
1. Web sharing is on
2. Open Terminal
3. Type in
sudo chmod g+w/etc/httpd/httpd.conf/etc/httpd
4. Enter Password
5. Open TextEdit and Open /etc/httpd/httpd.conf
6. Go down to where you add Include - no problem
7. Go to server-parsed and uncomment directives AddType and AddHandler and set for .shtml - no problem
Now, the problem is that when I go to step 8:
8. Save the file
It says that it is a read only file and then if I try to overwrite it I get "Couldn't save document as /etc/httpd/httpd.conf"
It looks like the permissions are set so that you can only read and execute - I can't save it.
Can someone out there please guide me on how to do this?
Many thanks in advance!
Kind regards
Les
I'm trying to get to grips with the power of MacOSX and am trying to set SSI up by following an article in MacWorld. Its pretty idiot proof - but I'm having problems! I'm the only user on the machine and am a Administrator Here's what I'm doing:
1. Web sharing is on
2. Open Terminal
3. Type in
sudo chmod g+w/etc/httpd/httpd.conf/etc/httpd
4. Enter Password
5. Open TextEdit and Open /etc/httpd/httpd.conf
6. Go down to where you add Include - no problem
7. Go to server-parsed and uncomment directives AddType and AddHandler and set for .shtml - no problem
Now, the problem is that when I go to step 8:
8. Save the file
It says that it is a read only file and then if I try to overwrite it I get "Couldn't save document as /etc/httpd/httpd.conf"
It looks like the permissions are set so that you can only read and execute - I can't save it.
Can someone out there please guide me on how to do this?
Many thanks in advance!
Kind regards
Les