gryzor | tomm3h: might need to mkdir /var/run/apache2 |
tomm3h | Mm, good idea |
gryzor | probably it exists already |
tomm3h | And yes, it is running as root .. and www-datat It didn't, now it does :) |
Slynderdale | gryzor: It was an apache couldn't start error |
gryzor | what does the error log say ? |
tomm3h | Nothing yet. I've just had to re-create the file, lol Tis empty |
gryzor | that was for Slynderdale |
tomm3h | I'd restart it, but I don't think it's built up 76MB in a few days from pure restarts -- it's been moaning about that ever few seconds. *every I did come in for a silly little issue I can't work out, actually :s |
gryzor | tomm3h: i would suggest you restart apache, though. |
tomm3h | Well, OK. |
gryzor | and "tail -f" on your error log |
tomm3h | Ok. I've cleaned the log out though now, so it shouldn't be necessary .. but thanks for the future info :) root@ubuntu:/etc/apache2# cat /var/log/apache2/error.log [Tue Mar 20 22:42:27 2007] [notice] Apache/2.0.55 (Ubuntu) configured -- resuming normal operations That's it now. |
gryzor | seems fine |
Slynderdale | gryzor; It says nothing, I was adding this directly to the http.conf file directly so it most likely is a prse error. |
gryzor | Slynderdale: httpd -t it should raise the line number that has an error or apachectl configtest |
fajita | apachectl configtest checks the syntax of your configuration file, and reports what lines, if any, contain errors. or httpd -k configtest, or, on Windows, apache -k configtest |
tomm3h | My main question was; why, when I point towards http://localhost/index.php, does firefox ask me what I want to do with my PHTML file (eg. save it or open it) .. index.html is fine, but .php isn't. I've checked apache2.conf, and an index.php file is listed as a suitable index file :/ |
gryzor | php handler |
fajita | php handler is 'AddHandler application/x-httpd-php .php |
tomm3h | Ah. Thanks :) |
gryzor | assuming mod_php is loaded of course |
Slynderdale | gryzor: Thanks, got he apache error fixed, but now I get a forbidden message when I try to access it |
tomm3h | Would that be in httpd.conf ? |
gryzor | Slynderdale: trying to access what ? tomm3h: well, where else? |
tomm3h | ok ok ;) |
Slynderdale | AliasMatch ^/ftp(.*) E:/Downloads$1 |