| fp- | hi all |
| fajita | All is not in today, fp- |
| fp- | this sounds like a stupid question, but has anyone seen that temporary page that sometimes appears on apache servers with the big flower pot i'm looking for it it's an under construction page |
| FauxFaux | O_o |
| brad` | any mod_perl coders here? i'm trying to access data from an OutputFilter in my cleanupfilter |
| Random | with mod_rewrite, how do i force e.g. all requests to http://www.example.com/ go to http://example.com/ |
| action | Daveman hugs fajita |
| Daveman | hugs fajita |
| fajita | Back off, freak. |
| Daveman | :O |
| CapriSkye | Random, redirect |
| manta | hi all, anyone here? |
| imMute | nope, were all dead |
| manta | well ok then need to ask a question of someone living |
| Supaplex | fajita: ask |
| fajita | If you have an apache related question, please go ahead and ask it. We will not beat it out of you. We won't bite you either, at least until we get to know you better |
| manta | haha cool |
| alexander1_ | majmun: are your rewrites defined in .htaccess or httpd.conf? |
| majmun | .htaccess |
| fajita | .htaccess is used for apache config directives - if it is not readable, apache can't use it - if you don't want to use htaccess at all, then set AllowOverride None in httpd.conf or http://httpd.apache.org/docs/configuring.html#htaccess or http://httpd.apache.org/docs/howto/htaccess.html or or see htaccess purpose |
| majmun | i may also write it into the configuration directly |
| alexander1_ | majmun: RewriteRule ^([0-9A-Za-z_-]+)/?$ /$1.php majmun: if you define your rewrites in httpd.conf, you must add a slash after the caret (RewriteRule ^/([0-9A-Za-z_-]+)/?$ /$1.php) |
| majmun | awesome! thank you! |
| FBSoulMan | I have an error in my apache2.conf file (Ubuntu 7.04 server) that stops apache from loading: Invalid command 'UserDir', perhaps misspelled or defined by a module not included in the server configuration this appears in the console when I do /etc/init.d/apache2 restart what did I change? I tried to enable user directories per http://httpd.apache.org/docs/2.2/howto/public_html.html nothing appears in error.log |
| majmun | alexander1_: is it possible to modify this directive, so that i can add <Files *.php>Deny from all</Files> |
| jpeg | you need to load the mod_user module. Ubuntu makes it difficult. FBSoulMan: look in /etc/apache2/ - there are two directories, mods_avail and mods_enabled. |
| FBSoulMan | I copied apache2.conf and httpd.conf from another Ubuntu machine which already had the changes I wanted applied. I wanted to add to apache conf for Nagios and enable user directories. |
| majmun | because that configuration just rewrites internaly, but i'd like that users are unable to access somefile.php, just "somefile", which does the same as somefile.php |
| jpeg | there's also a script called a2enmod that you're supposed to use to enable apache mods on ubuntu/debian |