megaspaz | try looking for httpd or apache2 |
fajita | apache2 is a nonstandard binary name, so see the link from jink for my distro. |
megaspaz | fajita shsush |
fajita | megaspaz: i'm not following you... |
megaspaz | fajita shush |
action | fajita shuts up. |
fajita | shuts up. |
pclip | nope |
OnyxRaven | so you can use a rewrite like rewritecond %{REMOTE_ADDR} !10.0.0.% \n rewriterule .* http://my/page/is/down [L] |
megaspaz | use ^ instead of .* since you're not going to be doing anything with that regex |
OnyxRaven | yeah |
aichainz | hm |
pclip | maybe put a 302 in there oh would httpd only show up in the list if i were logged in as admin? |
megaspaz | pclip: no what distro are you on and are you using your distro's apache package? also, how are you trying to start apache? what command are you using? |
action | Daveman is about to go frank on someone |
Daveman | is about to go frank on someone |
megaspaz | o.O |
Daveman | sup spaz |
pclip | i just see the ftp server, bash and -ssh |
Daveman | 'bout to go out and frank someone. so to speak. |
megaspaz | Daveman: not much. what you up to? |
OnyxRaven | pclip, rewrite should detect that you have a full url in the destination and automatically make it a redirect (or you can always use the R flag ) |
pclip | i'm on someone's shell account |
megaspaz | pclip: so what distro is it? |
pclip | i know onyx, but it's good practice to put a 302 code in it couldn't tell you - never needed to know |
megaspaz | well it most definately helps in this case since distros do "interesting" non-standard things to their apache config layouts as well as renaming binaries *shrugs* |
Daveman | redestributing modified binaries, that's a paddlin' |
OnyxRaven | heh |
mobodo | rewrite is only applied when a file is not found? |
megaspaz | eh? |
action | megaspaz hides... doesn't want to parse that |
megaspaz | hides... doesn't want to parse that |
Solifugus | How can I redirect an .html page to a .php page on a hosting provider (A2) where I don't have access to the httpd.conf ?? |
Jesse408 | use a meta refresh redirect? might be possible to do it in .htaccess, i'd have to check |