Related Topic:







RewriteCond %{QUERY_STRING} ^f=?$
RewriteRule ^download\.php\?f=(.*)$ /download/$1 [R]
like this?

why do you have the rewritecond anyways?

htaccess

htaccess files apply to the directory in which they are placed, and to all subdirectories thereof. or Only needed if you don't have access to the main server config. or http://httpd.apache.org/docs/howto/htaccess.html or http://httpd.apache.org/docs/configuring.html#htaccess or http://httpd.apache.org/docs-2.0/howto/htaccess.html or if it doesn't work, checkyour AllowOverride directives in http. Ask me about AllowOv

RewriteEngine

RewriteEngine is http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html#rewriteengine

i have problems with apache 2.2.2 http://pastebin.ca/629539 the errors are included there

wykis, what do you mena?
mean

mean is another

i've tried the google solutions
but they dont work
nvm its working ;p

RewriteCond %{QUERY_STRING} ^download\.php\?f=(.*)$
RewriteRule ^(.*)$ /download/$1 [R,L]

just remove the RewriteCond and it should work
I guess....

you guys just said that i need rewritecond
RewriteRule ^download\.php\?f=(.*)$ /download/$1 [R]

RewriteEngine OnnextlineRewriteRule ^download.php\?f=(.+)$ /download/$1 [R,L]
I think that should work

alone doesn't work
it doesn't
maybe other lines are affecting this

what other lines? lol
if you don't inform about anything else then no help may come...

ErrorDocument 400 /
ErrorDocument 401 /

I'm looking at it now Bill_Gates

ErrorDocument 403 /
ErrorDocument 404 /
ErrorDocument 500 /

don't paste here
paste

No, please don't paste here, use http://apache.pastebin.ca

RewriteEngine on

if you have RewriteEngine On in main config and want the general rules applied in a vhost, it's not enough to just put RewriteOptions inherit in the vhost, RewriteEngine On is needed as well!

RewriteCond %{HTTP_HOST} ^www.axyzmobile.info$ [NC,OR]

paste

No, please don't paste here, use http://apache.pastebin.ca

RewriteCond %{HTTP_HOST} ^axyzmobile.info$ [NC,OR]
RewriteCond %{HTTP_HOST} ^www.axyz.biz$ [NC,OR]

...

RewriteCond %{HTTP_HOST} ^axyz.biz$ [NC,OR]
RewriteCond %{HTTP_HOST} ^www.polarmtech.com$ [NC,OR]
RewriteCond %{HTTP_HOST} ^polarmtech.com$ [NC,OR]
RewriteCond %{HTTP_HOST} ^axyzmobile.com$ [NC,OR]
RewriteCond %{HTTP_HOST} ^keep.tamrazyan.com$ [NC]
RewriteRule ^(.*)$ http://www.axyzmobile.com/$1 [R=301,L]
RewriteRule ^download.php\?f=(.+)$ /download/$1 [R,L]

lol
isn't it kinda obvious, Bill_Gates? the new rewriterule should go at the top

what lol
it doesn't work at top as well
RewriteRule ^(.*)$ http://www.axyzmobile.com/$1 [R=301,L]
?

hmm, I understood the mistake, brb
RewriteRule

RewriteRule is http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html#rewriterule or http://httpd.apache.org/docs/mod/mod_rewrite.html#rewriterule or http://httpd.apache.org/docs/mod/mod_rewrite.html#rewritelog or tricky, because .htaccess RewriteRule acts differently than httpd.conf (RTFM!)

it is the question mark
just make a damn PHP script for that, how hard is it?

yes!!!

php if (isset($_GET['f']) ) { header("Location: /download/".$_GET['f']); } ?

all probs start with '?'
but i'm escaping it though

nastyURL?

cause usually nobody would redirect from /uglyURL?blah&dasdas to /niceURL/blah ?
I'm a n00b
time to go off ;}

Yes but you don't go!

yes, but at the beginning I started with nasty urls, and want to redirect them to clean

hmm
okay
f..it

but why with ? it wouldnt work
wykis, thatnks, i fixed it in php

hi

Hey,
what is the best permission value to use for directories?

755 ?

755 is rwxr-xr-x (read/exec all, writable by owner); this is the best mode to set on CGI scripts and directories for Apache to executeerve files in them (respectively). If you chgrp the scripts/directories to a group that contains the user apache runs as, you can use 750 to deny access to other users

apache doesnt care. All it needs is that itself has r+x

cool thanks

in particular, on normal conditions, apache should NOT own your web content
nor have write access on it

well it will for files that you need apache to write to,

unless you want to use DAV
which reminds me, is it possible to set the umask for DAV?

hi

hi pclip

i'm trying to symlink a php host file from one sitedir to another sitedir, but the symlinked file seems to use the symlink as the basepath, is it possible to symlink, and have it use the original path as the basepath?
i have the sites set up as a separate vhost

you won't be able to go down below where the document root
unless you setup an alias of corse
or use some mounting magic (mount -o bind /some/dir1 /some/dir2/dir1)

mhh
document root for that site?
or for apache?

that site

oh
so what would an alias do?

can anyone please tell me how I see the ips of users has visit my site from cpanel ?

logs?

Logging

would an alias point one domain name to another?

you mean Raw Access Logs or Erorr Log ?

access

ask me about mod_access

what?

raw access logs nana2
phix - would it be an alias for a vhost?

yeah
you can use Alias in a virtualHost

oh my god, the file of raw access log it is 200 mb!!

mhh

why that?

you see...i'm in the process of developing a cms for multiple sites, and i want to be able to symlink an index file from one place to have this script control multiple sites
so rather than having multiple copies, i can have just links to one file

ok I found the ip of the spammer how now I block him from my site with adding code in .htaccess ?

good luck with banning one dedicated ip hosting and thinking your without spam

what you mean?
order allow,deny
deny from 127.0.0.1
allow from all

order allow,deny is The Allow directives are evaluated before the Deny directives. Access is denied by default. Any client which does not match an Allow directive or does match a Deny directive will be denied access to the server
allow from all is a whorehouse, innit?

sorry

I should think so too

mhh - since setting up name virtual hosts, i can't connect to the db

so that was the code? : order allow,deny deny from ipspammer allow from all ?
which I have to add in the .htaccess?

i have namevirtualhost 127.0.0.1:* to include 80 and port 5432 for pgsql, is this legit?
127.0.0.1 is the ip of the spammer nana2?

its an example I find by googling

i see

So this is the code I have to add?

I have issue, i can't start the apache

apachectl?

apachectl is http://httpd.apache.org/docs/programs/apachectl.html or just a shell script. It can be hacked to set things like library paths, umasks, etc

step one?

whatever the problem, step one is to look in the error log (and any other logs that may apply, such as suexec, mod_rewrite, or mod_security).

disappointed?

wish i knew, lamp

i received this error VirtualHost overlaps with VirtualHost
Please help me

good flower arranging lessons for lara375?

Invalid command 'BytesLog', perhaps mis-spelled or defined by a module not included in the server configuration
some one help me

somone can help i install php5 mod in my apache server and the apache server host instead of runing my php scripts he download him how i can fix it?

hi
on my linux box i have apache2 installed. Unfortunately this box has very low memory and cpu-power (133Mhz, 64M ram). The box isn't very fast, so i am trying to speed it up a little.
i found out that there are 8 similar apache2-processes running at a time
the line of ps aux looks like this:
0 /usr/sbin/apache2 -k

because you run prefork

can i reduce the number of these processes?

No one help

somone can help i install php5 webhosting mod in my apache server and the apache server instead of runing my php scripts he download him how i can fix it?

yes, especially if your apache serves few requests
do you run php ?
or other third party modules ?

yes, i run php. But i can say for now - only 3 people will use this server - and this maybe only a few times a day

ok, so you have to stick to prefork
you can try to reduce these :

just uninstall it?

MinSpareServers, Maxspareservers

gryzor
can you help me

hi

privet, wfq.

php handler

php handler is 'AddHandler application/x-httpd-php .php

^^

where to add it
?

probably in apache config file. Where else??

urgh, is there any way to stop a ddos attack?

mod_evasive

i'm getting tired of adding all those IP's manually

mod_evasive

mod_evasive is http://www.zdziarski.com/projects/mod_evasive/ - formerly known as mod_dos_evasive.

i'm using that right now

i tried to uninstall prefork, but it will then remove PHP5 too. is there a config setting to reduce the processes?

yes, i told you
MinSpareServers, Maxspareservers

oh, sorry, i misunderstood that

perhaps i have to make it more strict

okay, i will look fro them

and StartServers

StartServers is http://httpd.apache.org/docs-2.2/mod/mpm_common.html#startservers

oh wait, i can't make it more strict, damn :|

it is usually quite efficient

/var/www/html/med2

it's not working here

instead of /home/user/public_html/med2
why if I have defined a virtualhost

can i set Startservers to 1, MinSpareServers to 1, Maxspareservers to 3, MaxClients to 10?

well you can
it's quite low settings

what would you recommend me?

http://pastebin.ca/629679

but you can try it and see if things go fine for you

ok, i will try

you made sure the module is loaded ?

gryzor

yep

its still
download the php hosting file

it blocked me occasionally

after i add the handler

does anyone has an idea?

the damned attacker keeps downloading files which are server through apache
*served
blacklist is almost 2MB now

when I go to ~user it works fine

most of them miraciously coming from AOL

not "dosevasive22_module"
you probably want "dosevasive20_module"

waht

waht is that factoid

what
what is dosevasive20_module

it's for apache2 instead of apache22

IfModule mod_evasive20.c
that's what you need
not some invbented string

i dont understand your
you

What, me??

it is gettin /var/www/html/home instead of my /home/user/public_html

what i need to do

why did you put "dosevasive22_module" ? where did you get that from ?
the doc states "mod_evasive20.c"

are you talking to me?

I am talking to KiPSeRoN

ah

i dont know what is evasive20.c

can someone give a hint to follow please?

i think he read my pastebin

no, i'm talking to Fushuing

@.@
not...making...sense...

trying to solve too many problems at a time
IfModule mod_evasive20.c

i am using dosevasive22 .
for apache22

no
or, if you are, where did you get it from ?

...i thought i got it from the ports collection

please it is very important

...where the HELL did i get 22 from? o.o

the official mod_evasive module is registered as "mod_evasive20.c" afaik. I don't know if there is a 2.2 specific fork of it.
but i wouldnt think there is, for "mod_evasive20.c" compiles and works very fine on 2.2/

i got the configuration settings from a windows website, that explains...

well see if it's better with mod_evasive20.c
or even without any "IfModule"

it's odd how it did give me a 403
i just reloaded the site 100 times...no 403 this time

this is the error I am finding The requested URL /home/daniel/public_html/cms/cake/app/webroot/ was not found on this server.

##PHP or #CakePHP
*wfq

Fushuing but apache is asking me for /var/www/html/home

and where is the official page for mod_evasive20.c ?

instead of /home/user/public_html

mod_evasive

mod_evasive is http://www.zdziarski.com/projects/mod_evasive/ - formerly known as mod_dos_evasive.

thank you

get the .tar.gz and see the README file
the 2.0 section applies to 2.2 too

the quesiton is why apahce ask for /var/www/html/home instead of /home/user/public_html/

are you using mod_userdir ?
details

You need to give us a few additional details. What, exactly, is happening, and how does this differ from what you expect to be happening?

yes in public_html

post config

Please put your configuration file on your Web site so that we can have a look at it. or ask me about 'nopaste' if you don't have access to a place to upload.

but I have defined that a few days ago with othe rhome and it worked fine

used to work?

The protons invaded and conquered the electrons... They then proceeded to expel the neutrons who are responsible for holding things together.

well
if you have two application in the same directory
and you are able to see one and not another one then, apache has to be fine

Hi all!

All is not in today, rapha

Eh?
Er... just wanted to ask, I built Apache 2 with "--enable-mods-shared=all" but am now lacking mod_access.so ... what did I do wrong?
nm
it's apache 1, I found out

is anyone using mod_ruby? i am trying to write a simple response handler, but when i return Apache::OK, it says that is not defined

Location context?

server config, virtual host

filesystem
hrm
DAVLockDB context?

DAVLockDB context is server config, virtual host

hey
how does one use the Directory directive for multiple directories in httpd.conf?

?

or somesuch
http://httpd.apache.org/docs/2.0/mod/core.html#directory
but I could have sworn i've seen it done before

Exnor, AliasMatch

ah

Or ScriptAlias

ScriptAlias is http://httpd.apache.org/docs/2.2/mod/mod_alias.html#scriptalias or Don't forget to load mod_cgi

can anyone a hint about Ho I take on that http://pastebin.co.uk/19854

wfq, Its a pretty clear error message

setuid, but I have a aplication in the same folder and it works fine

1 2007] [error] [client 10.0.1.1] The locks could not be queried for verification against a possible "If:" header. [500,
1 2007] [error] [client 10.0.1.1] Could not open the lock database. [500,
1 2007] [error] [client 10.0.1.1] (13)Permission denied: Could not open property database. [500,
woop, fixed

setuid,apache lets me go till muy public_html but onnce there I cant pass

wfq, I'm not sure what you're saying

setuid, this is the problem. I have two apps in the same folder. forum and cake I can see both folders when I go to my public_html. If i try to go to forum everything is ok if I go to cake try to look for in /var/www/html
the only difference between both is cake use rewrite but this module is loade
loaded
is there any rule that forbbid rewrites?

wfq, Look at how cake is referencing its apth
er, path
and fix that

hey
if in the .htaccess i can wirte index directives and I have in my public_html define allowoverride all where should i look to let them
?
I mean how could I give Allowoverride all without letting to the whole site please?

allowoverride all

allowoverride all is a really bad idea, because it implies AllowOverride Options, which lets people do stuff like Options FollowSymlinks and Options ExecCGI, even though they are explicitly disabled in the main config.

just for my public_html
gryzor, but cake requires

AllowOverride whatyouwant /Directory

I have done it
but event so it does not work
because in / is none

clear your browser's cache
and restart apache

apachectl restart

it is not
gryzor, I have done it and restarted the apache but it does not work
but Ihave seem in directory / is none

directory /

is a filesystem directory, not a URL path. If you put options in this block, don't be surprised when whatever you're trying to do doesn't work.

for the /foo/bar directory

but I don't need to add anything to Options to let rewrite in a .htaccess for example

if you have access to main server hosting config, why are you bothering to use .htaccess anyway ?
htaccess purpose

Don't confuse htaccess with password-protection. The purpose of htaccess is to enable users to configure apache locally for their own directories, when they have no privilege to do so in httpd.conf. Using htaccess slows the server. Also rewriterules and redirects are more complex in htaccess

gryzor I need to add AddModule mod_rewrite.c that to allow rewrite

that smacks of apache1.3

add it to httpd.conf

ufffffff this is the problem
then

Good evening / Bonsoir / Mooh / (kikoolol epiknet, surtout) !

but I can add it to httpd.conf so Idon't need to use it into a directory
apache 2 in Rhel 3 is trhowing up an error
with that AddModule mod_rewrite.c

addmodule

addmodule is only relevant to very old versions of apache. See http://httpd.apache.org/docs/1.3/mod/core.html#addmodule

not used in apache2

is it different in this version

-_-;

but I don't need to add anything then
I mean, apache2 does it automatically?

if it's compiled in statically, yes.
if not, use
LoadModule

LoadModule is http://httpd.apache.org/docs/2.2/mod/mod_so.html#loadmodule

I have done it

good for you

I mean I had already a LoadModule
before getting this problem
Order

Order is http://httpd.apache.org/docs-2.0/mod/mod_access.html#order or http://httpd.apache.org/docs/mod/mod_access.html#order also see: http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html#order

arghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
nothing

nothing is _ALWAYS_ a wrong answer/description.

there is not any allowoverride anywhere
and I can't use rewrite
in the .htacces

what distro are you on?

megaspaz, rhel 3
something in rewrite is missing

garbage

try putting junk in your htaccess file. If it's being read, you will get an Internal Server Error when accessing that resource.

iirc, rhel 3 doesn't do vhosts by default. all you need to do is do your allowoverride in Directory /path/to/your/docroot
but where is this htaccess file in? rhel also uses selinux, which if you know nothing about, can bork with your observations of things
selinux

selinux is The New Universal Scapegoat! http://www.nsa.gov/selinux/ httpd FAQ: http://fedora.redhat.com/docs/selinux-apache-fc3/ TIP: Use 'setenforce 0' to set permissive and test, man the following: chcon, getsebool, setsebool - Use `ls -alZ` to see context; More: http://fedoraproject.org/wiki/SELinux - http://danwalsh.livejournal.com/

megaspaz I know rhel does not use it
setlinux I mean

ok... possible it wasn't used until rhel 4
*shrugs*
but as far as rhel not using it at all is false

so in apache I don't need Addmodules

in apache2 you don't

I don't have to do anything with if module as php
php's one

i have no idea what you were trying to communicate there
did you follow niq's/fajita's suggestion?

I just rewrite works fine
which one?

scroll up

the problem now is apache let add index directives but rewrite is not working
bthe problem now is apache let add index directives but rewrite is not working/b
bbthe problem now is apache let add index directives but rewrite is not working/b/b
bbbthe problem now is apache let add index directives but rewrite is not working/b/b/b

megaspaz fails to sigh --- points and laffs

seen niq?

2

:P~~~~

megaspaz is guilty. Just look at him!

heh

how I could know if rewrite is working

rewritelog

rewritelog is http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html#rewritelog http://httpd.apache.org/docs/mod/mod_rewrite.html#rewritelog. Use this logging to help design and track rewrite; see also rewriteloglevel; and cannot be used from .htaccess

seen megaspaz

6

hi
there is a horrible translation on the manual, where can I report it?

directive "Extended regular expressions can also be used, with the addition of the ~ character."

eh?

url?

tell us a URL where the problem happens

looks like good english to me

the way it's translated to spanish changes the meaning to something like "Extended regular expressions can also be used, with the advantage that you can also use the ~ character"

ah

http://httpd.apache.org/docs/2.0/es/mod/core.html#files

Is this an Apache 'support' channel ? ie. can we ask Q's ? :P

notsure who does the spanish translation, but we have spanish speakers amongst our gurus here

I'd say... s/con la ventaja de que tambien se puede usar el carácter ~/agregando el caracter ~/
uI'd say... s/con la ventaja de que tambien se puede usar el carácter ~/agregando el caracter ~//u

i'm having trouble with php on my server

what else do you think it could be...?

you could post to docs@httpd.apache.org
or

Just Ask The Question

summon yango or rici

YANGO OR RICI YANGO OR RICI YANGO OR RICI YANGO OR RICI YANGO OR RICI YANGO OR RICI YANGO OR RICI COME TO ME!!!!!!

lol

and if he's connected whereever he's staying...

also note the channel topic... We're not ##php

blame php

PHP should be presumed to be at fault until conclusively proven otherwise. And even thereafter, if it's convenient.

+1

Well, my php5+apache2+freebsd doesn't seem to work right - the phpinfo(); works and says php is running and installed (it parses that file just fine) but when I try to to get it to parse other php pages (ex. phpmyadmin login, or vbulletin or whatever), everytime i click on a .php link it sends the php file as a download. :-/

download?

If your browser prompts you to save a file, save it and tell us what's in it.
bIf your browser prompts you to save a file, save it and tell us what's in it./b

yeah it sends the .php file instead of parsing it

are you sure it's the .php file and not the generated HTML?

but other php files it parses fine and doesn't send as a download file (ex. the phpinfo() test .php file - which says everything is up n running fine)
well for example
phpmyadmin

phpmyadmin is http://www.phpmyadmin.net/

sample url

Could you please give us a URL at which the behavior is demonstrated. This would help us troubleshoot the problem.

i installed that - and it loads in the web browser

what does the downloaded file have? the PHP sourcecode, or the HTML it outputs?

that's the purpose of the "download" factoid

to the front page - where i can enter user and psw - but when i click "GO" (enter) to login, it sends me a .php download file instead of just parsing it ... (if that makes sense)
PovAddict - let me check
it just says it's asking you to dowload a php webhosting script file

well download it then
and open it with a text editor and see what's in it
-_-

I am sure rewrite does not work
arghhhhhhhhhhh

okay i opened the php "script" it sent me and it was completely blank inside :-/
strange?

do you have PHP error reporting on?

step one

whatever the problem, step one is to look in the error log (and any other logs that may apply, such as suexec, mod_rewrite, or mod_security).

I'm not sure if i have php error reporting on - i'm not getting any errors through the browser

so you go and make sure

PovAddict++ #patience in the face of stubbornness

where do i check if it's enabled or not ?

I don't know, that's not an apache setting, and this is #apache

php.ini ?

php.ini is the php configuration file. You might want to ask on #php instead. It is frequently located at /etc/php.ini or perhaps /usr/local/etc/php.ini

What is the point of basic HTTP auth when there is "digest" auth?!

your options are reading the manual or asking in ##php; preferably the first

yeh i hear you but i thought it was an httpd.conf problem
cuz like i said, it does run php pages if i open them directly in the browser
it's just some of the other like forms (ie. enter user password) then when i click okay the thing is sent as a download php file (blank inside) instead of ran on the server
but other php pages run just fine

php

is a scripting 'language' that is enabled by loading mod_php and by adding 'AddHandler application/x-httpd-php .php' or you can look at http://wiki.apache.org/httpd/PHPDownload

noes, that's not the factoid I needed _

i have added all those addhandlers into httpd.conf
that's why i don't understand why it's not parsing properly

What is the point of basic HTTP auth when there is "digest" auth?!

I was looking for a link for myself... anyway, check the PHPDownload link

yeah reading the link now

ctv
oops

What is the point of basic HTTP auth when there is "digest" auth?!

What is the point of asking a question three times within 5 minutes when everybody already read you the first time?!

basic + ssl is secure. digest is less well supported by lots of clients, including msie which has it wrong

how many times are you going to repeat that non sequitor ?

Oh. Fuck.
I KNEW there was a catch.
And it was not surprising that it was with MSIE...

and I knew you were a fuck - now leave

MSIE has forced me to dumb down CSS, gzip and auth. :/

adaptr++

Mikomido unless you tone it down we can do fine without you

So basically, it cannot be used since MSIE 6 + 7 don't understand it?

hey nice
I should use digest then
easy way to block msie users out?

nope

woooooga wooooga!
wassup fajita?
la la la la la

sing along everybody!

mooo
that's about the best I can do

Hi, apache terminates with segfault on port 80 access, ssl works. No further hints in logfiles.

segfault?

segfault happens when you run a program that is seriously buggy OR not binary-compatible with your system. If apache segfaults, build it from clean source. or get a coredump/traceback to find where it 's coming from or likely to come from third-party modules such as PHP

me slaps adaptr a little
oh, so it's a fishy war noq is it?
s/noq/now/

you started with the slapping.. it's so easy to escalate that to trout

hehe

I bult iit on clean source on gentoo linux. everything works with ssl, even php

huh?

fajita is a bot

bot?

Danger Will Robinson!

really?

literal bot

bot =is= replyI am a bot. I am not a sentient being. I cannot hold intelligent conversations.|replyI'm *not* a bot! I'm a real girl|replyDanger Will Robinson!

quit

I've done what that link said, when prompted for index.php it seems the Content-Type from the http header is text/html (despite the fact that i clearly have the correct AddHandler in there and no other ref to the httpd-php)
i can't imagine what i'm missing

The content-type should be text/html- the output of the script is HTML.
AddHandler?

AddHandler is http://httpd.apache.org/docs-2.0/mod/mod_mime.html#addhandler or http://httpd.apache.org/docs/mod/mod_mime.html#addhandler or part of mod_mime
AddHandler is a href="http://httpd.apache.org/docs-2.0/mod/mod_mime.html#addhandler"http://httpd.apache.org/docs-2.0/mod/mod_mime.html#addhandler/a or a href="http://httpd.apache.org/docs/mod/mod_mime.html#addhandler"http://httpd.apache.org/docs/mod/mod_mime.html#addhandler/a or part of mod_mime

hardly, type == MIME, handler == useful
MIME is not a server thing, strictly speaking - it's purely for the convenience of the client
or it should be, anyway

mime section of httpd.conf ?

my apache segfaults on "getsockname" - what can be wrong?

I wouldn't put it inside anything
elsni you have a bad network card ?
who knows, strace it

it's not inside anything atm but it doesn't work - when i put it inside it doesn't work either :-/
hmmm

no, it worked before, but since I got ssl to work http segfaults.

Bobby the content-type for php *is* text/html, that's not an error

basically if a .php file that containts the phpinfo(); opens parses and displays as it should - it is correct to assume php is installed and working properly aye ?

Bobby what does the addhandler say ?

yeah i realize that now

Bobby well, I would think that it's working - how about you ? how do you think it generates that page ?
perl, yes ?

AddHandler application/x-httpd-php php
exactly adaptr- then why won't phpmyadmin and other such php not work properly i don't get it

what makes you even remotely think that having a working php is all you need to get anything else working ?

agreed - hence I'm in apache chan
i figure it must be something i'm missing in httpd.conf

*how* did you install phpmyadmin, *how* did you configure it, *what* container is it in other than the default one, *which* php is it using - mod, cgi or cli
and half a dozen other possibilities, none of which have anything to do with php working or not
just you fscking up your apache config

phpmyadmin was installed through ports, then moved over into my web root/, the phpmyadmin login page loads fine - but its after i've input user/psw and click enter that instead of doing php server side it just sends that index.php as a blank file dowload - and i don't know which php it is using ? i'm not sure where to check this?
this it's using mod php5 , cgi seems to be enabled as well - cli being the command line php interpreter ?
cuz i'm not entering this stuff at the command line - it's all just 'working' through apache

it gives you all information about your php installation

ya i've got one of those already it works - what section do you need me to check ?
it's a long listing :P

check mysql , apache and local settings, specifically
your phpmyadmin probably has a htaccess or something in it - check that too
also, moving phpmyadmin from its installed location means you *must* adjust your phpmyadmin and apache configuration to match

right what am i looking for in MySQL section ?

the fact that it's there is a start
your index.php being sent means one and exactly one thing - the handler isn't picking it up

local settings section doesn't exist and Apache Environment seems there although it's not called just "Apache"

so it's being nullified somewhere within the phpmyadmin structure

what do you mean my phpmyadmin needs to match my httpd.conf ?
isn't it just a directory to plunk into the web / ?

that depends

minus the one config file where you point it to the database
depends on what ?

actually, there are several settings in phpmyadmin that *have* to be correct
but none of that is relevant here

yeah i figured
isn't the first phpmyadmin login page written in php as well ?
so if that works fine ... why would after i hit enter it sends me the php as a download instead of working it server side

Bobby, what does the error log say?

apache error log ?

you mean you don't have a php error log ?

lol who doesn't have a php error log? srsly?

yeah, like, srlslsly, like, like, ya know, like ?

ALERT - canary mismatch on efree() - heap overflow or double efree detected
that comes up in my apache error log after trying to login through phpmyadmin front page
hmmm

that's baaaad - do you by any chance have the wrong version of php, apache, or mysql for the job ?
bthat's baaaad - do you by any chance have the wrong version of php, apache, or mysql for the job ?/b
canary mismatch" - classic!

Can someone give me a hint for my apache segfault problem? It is no hardware problem, I suspect incorrect server name or something, but I dont know how to fix it

mysql 5x php5x freebsd 6.2 apache 22x
i think it's pretty much all the latest vers
got most from the bsd ports
well all of em actually :P

Is it possible to mod_rewrite ... to: /index.php?p=PAGE&a=ARG1&b=ARG2 ... from: /PAGE/ARG1/ARG2 ... or do I need to use numbers instead of a,b,c to scan automagically?

elsni strace apache, ten - tell you exactly where it borks

if i want "unlimited" args?

shall I post strace snippet?

sedeki rewrite does not touch the parameters
elsni if you know where to start it, sure

adaptr hmm. can i make it touch them?
(sounds sexy *lol*)

sedeki oh sorry, I see - still, you need to *specify* any and all parameters
so unlimited is not practical

Isn't it just regex?
or just regexp on the base?
file basename?

[pid 24365] getsockname(13, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("192.168.8.178")}, [16]) = 0
[pid 24365] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
[pid 24365] chdir("/usr/lib/apache2") = 0
[pid 24365] rt_sigaction(SIGSEGV, {SIG_DFL}, {SIG_DFL}, 8) = 0
[pid 24365] kill(24365, SIGSEGV) = 0
[pid 24365] sigreturn() = ? (mask now [])
[pid 24365] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 24365 detached

) = ? ERESTARTNOHAND (To be restarted)

elsni don't do that!

[pid 24356] --- SIGCHLD (Child exited) @ 0 (0) ---

pastebin

Please use http://apache.pastebin.ca/

sorry, but I asked....

f***

elsni you're going to be banned
STOP THAT
elsni NOBODY can give you permission to flood the channel

I asked..... sorry

well, lesson learned

yes, sorry again. If I could, i would send you a beer

apc, please

Try using http://apache.pastebin.ca - It's a good pastebin, and is even set up to highlight Apache 'stuff'.

http://apache.pastebin.ca/629930

adaptr RewriteRule ^(.*?)/$ ^index.php?p=($1)$
Something like that?

elsni it seems apache cannot acquire a socket; this indicates serious system trouble not limited to apache
unless apache segfaults by design if it has no permission to bind to 80
uunless apache segfaults by design if it has no permission to bind to 80/u

thanks, but where can I start? What can I try to narrow the problem?

elsni test the hardware and software - does anything else behave strangely ?
do you have funky software combinations running for any reason

apache worked on port 80 before I tried to get ssl an svn to work
ssl works, svn - not really I have some authentication problems, but port 80 segfaults
the server is quite naked - fresh gentoo linux installation
without x

eek!

eek! is the server on doze too?

close, girl

naked!? isn't that against the law?

only in teh .us
we're kinda prudish ovah here
:/

not here ;-)

in finland we are always naked. sauna and stuff, you know...

heh

sunny finnlad...

hmm my apache is not using the access.log... what should i add in the config file to get this to work
?

accesslog

see 'CustomLog'

customlog

customlog is http://httpd.apache.org/docs-2.0/mod/mod_log_config.html#customlog or http://httpd.apache.org/docs/mod/mod_log_config.html#customlog

locate your *Log directives

./var/logs/apache2

Hey guys,

hi AlexC_

:P
I came to check it's right =D

lamp okey ive located it..
heh yeah.. i guessed

hi

hi, Laserl.

considering using apache for virtual hosting

say I've got Apache running under www-data and www-data which I am also using PHP with - if I wanted a directory where uploads will go, what is the best permission for that? 755/751 with owner as www-data? or group as www-data?

users can upload files/dir through ftp
which are the best practices about permissions/owners of file/dir?

are you absolutely sure you want php to write anywhere?

yes,

then 775 with g+w

setup a single vhost with another user and use that only for uploads

so group as www-data?

yes. ONLY for that directory.

oh yeah of course, not every dir :P

or a seperate apache instance, and reverse proxy it

that will probably give me a headache

not half as much as getting hax0red

very true,

hmm my apache is not using the access.log... what should i add in the config file to get this to work

i already had it that way, Danielss89.

:P

and 755 for a normal directory, thumbs?

customlog

customlog is http://httpd.apache.org/docs-2.0/mod/mod_log_config.html#customlog or http://httpd.apache.org/docs/mod/mod_log_config.html#customlog

^^
yes

danke

bitte sch n

thumbs is it a customlog?

read the factoid.

is not suggested to give files/dir www-data as group owner?

no.

why not?

but chmod'ing to 777 is not much better.

eh

thumbs ok.. do you think its a good idea to have a access log? ive got 2500 uniqe hits a day, and they views a lot of pages.. would'nt that be a very big log file?

because anyone can modify the web content.
that's not a lot of hits.

well, if I give 640 it should be pretty safe

hi, I just moved from apache 2.2.2 to 2.2.4 and now, using the httpd.conf, the allow/deny rules simply won't recognize me as 127.0.0.1

if you make it 640, apache won't be able to read it.

i mean 2500 uniqe users a day..

that's still nothing.

about 1 million page vies a day..

rotate your logs

user owner: ftp user, group owner: www-data

ah ok.
sure.

okey thumbs... i was just thinking.. is it a good idea to have that log, or is it just waste og space..

does anyone know why apache would not recognize my requests as coming from localhost?

what do u think about suphp?

you can put all the logs from all the vhosts in one file, or split them.
if your logs exceed 1 GB, you might need to split them.
it's a PITA
because it's listening on the external IP?

PITA?

PITA

PITA is Pain in the A__.a bread

lol

it's set as "Listen 80", but it's always been like that and it worked

used to work

0 it still won't

fajita++

how did you define your vhosts, exactly?

Amblin use either *, 0.0.0.0, or nothing
or faq1

exactly. For example, NameVirtualHost *:80 must be used with VirtualHost *:80

so do NOT use VirtualHost xx.xx.xx.xx:80

I don't have any vhosts set

instead, use *:80
what does httpd -S tell you?

at least as far as I can tell, I'm using xammp

what does httpd -S tell you?

VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
_default_:443 localhost (C:/Programme/xampp/apache/conf/extra/httpd-ssl.conf:74)
Syntax OK

I have some doubts about suphp for security, for example, giving 640 to a php file will expose it to modify

so it's only listening on :443
where is the vhost for :80 ?

it does respond to http://127.0.0.1:80
I don't have one set
I don't even know what it is

vhost examples

Look at these for examples http://wiki.apache.org/httpd/ExampleVhosts : http://httpd.apache.org/docs/2.2/vhosts/examples.html

try to define two vhosts.

why u think suphp is a PITA?

Is there a way to have apache host multiple virtual websites on one webserver1 and host yet another site from a seperate box webserver2 all behind NAT ?

sure
vhost examples

Look at these for examples http://wiki.apache.org/httpd/ExampleVhosts : http://httpd.apache.org/docs/2.2/vhosts/examples.html

^^
and then
router

In order to access your web server behind a NAT router, you must forward the port apache is listening on to your internal IP. Then you can access your site by pointing your browser to http://your external IP here:port. If your ISP blocks port 80, see 'port 80 redirection'. Instructions on how to forward a port using most common routers can be found at http://portforward.com.

^^

i already have one webserver - running 3 sites (virtual hosts) - but i have another seperate machine with apache as well, but everytime i open 80 on this machine as well and put the apache online, then all the other websites hosted on the other machine are no longer accessible - it just loads up the one site from the 2nd webserver (see what i'm saying)

where can i find the cronjob that rotate the log /var/log/apache2/*
on debian etch

logrotate

logrotate is supercool or see rotatelogs

rotatelogs

rotatelogs is http://httpd.apache.org/docs-2.0/programs/rotatelogs.html or http://httpd.apache.org/docs/programs/rotatelogs.html or http://httpd.apache.org/docs/2.2/programs/rotatelogs.html

if that does not answer your question, try #debian

ie. {NAT} - {server1} - hosting sites - {server2} - hosting more sites
2 physicaly seperate machines
can't do that without squid proxy can i ?

you can host all the site on one machine
and one spache instance, too.

yeah i know - but can it be done no seperate machines (all on port 80) without proxy ?
*on
maybe some sort of apache fwd mechanism

yes. They can all use the same machine AND IP
vhost examples

Look at these for examples http://wiki.apache.org/httpd/ExampleVhosts : http://httpd.apache.org/docs/2.2/vhosts/examples.html

where server2 is not seen from the WAN but only fwds the page to the other server1 which hosts teh domain to the WAN?

you want to use name-based vhosts

checking now

why do you want to use a proxy?

can they be on different ips tho ?

yes, they can

the vhosts

the vhosts is 'working, just specifically the dev. one

how does that work

but if they are *all* on different IPs you might as well use IP-based vhosts
just add another namevirtualhost

over network shares or what ?
how does it get the info ?

header

you set the servername, and apache serves content from the appropriate vhost

fajita fogert the vhosts

what?

heh

based on the HTTP HOST header

or can i actually have a seperate apache/php/mysql running on a different machine and have that forwarded to the outside world through the other apache machine with the vhost entries?

fajita forget the vhosts

I forgot vhosts

the vhosts

the vhosts is 'working, just specifically the dev. one

you can proxy it, yes.

damn girl!
fajita forget the the vhosts

I forgot the vhosts

why u think suphp is a PITA?

i already had it that way, Laserl.

thank-you

so i would need a proxy for that right

because anything associated with php is.
yes, as I just told you.

otherwise - all the php parsing and html etc. must go through the same apache instance hosting the vhosts right?

proxy

proxy is http://httpd.apache.org/docs-2.0/mod/mod_proxy.html#proxy http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxy

yes

but it could raise security...or not?

right so nvm - i'll just somehow have to figure out how to fix my php5

php always introduces security risks
it never makes apache more secure.

Laserl no, php will not, in any conceivable situation, raise security

under what OS?

adaptr, I mean suphp

except when you exclude it from your aapche config
especially suphp

I have a question about some strange entries in my log file. Can anyone assist me?

I can't figure it out :| http://rafb.net/p/C0KVLf87.html

ah, so u think suphp does not raise security at all?

just ask them

Do you know if i make deinstall the lang/php5 port it will actually remove retroactivly all the associated php extensions and dependent packages ? or must they all be removed one by one ? :-s

Laserl I do not think it - I know it

well it really requires me to send the log

Bobby TIAS
nickerbocker apc
apc

that's wrong

if possible, can I know why?

damnit!

you either use vhosts, or don't

Laserl what do you think suphp does ?

so if I remove the SSL/443 vhost it should work again?

do not set the documentroot outside a vhost block
define TWO vhosts blocks instead.
apc

Try using http://apache.pastebin.ca - It's a good pastebin, and is even set up to highlight Apache 'stuff'.

^^

let executing php scripts with the permissions of their owners

adaptr TIAS ?

erm.. no

what's TIAS stand for

tias

tias is Try it and See - if you want to know if something will work, give it a go. If not, then you can ask why it didn't work as expected

suphp will allow a php script to elevate privileges above the permissions of the apache user - THAT's a security risk, period

what distribution are you using?

what's to stop anyone from chowning root a php script ?
and then running system rm -rf / ?

FreeBSD 6.2

I have no idea how they organise their packages. You could ask in #fbsd

good point, I didn't know.

security 101, that

i've got this zend / suhosin patch /optimizer shit in my php5 - i think that may be the prob :-/

same thing for suexec?

since we don't know what your problem actually is, we can't say.

Laserl definitely, yes
same goes for su*anything

ALERT - canary mismatch on efree() - heap overflow or double efree detected
then it launchs the php page as file to download
that's like a core php error or something
:-s
gotta reinstall it all i think

try it

apache needs to be stopped if its using the php5 module right ? before i try and uninstall it (i would assume) ?
i'm starting to worry its gonna come down to a full OS reinstall

youcan keep apache runnning.
if you ever need to restart apache, that might be a problem is php is not functional.

so finally, is better to not use them? Are there any safe alternatives?

Laserl you use them when you have no choice.. of course, the trick is in determining when you have no choice

I don't understand why they are considered security raisers?

who considers them that ?
that's a very vague statement
(also one I've never heard before, anywhere)

from suphp documentation: The suPHP Apache module together with suPHP itself provides an easy way torun PHP scripts with different users on the same server. It provides security, because the PHP scripts are not run with the rights of the webserver's user.

Laserl sure, but what it's actually *used* for is to run php scripts as root
apache 2.2 supports running every vhost under another user, meaning php will, too

I removed all vhosts but I still get a 403 when accessing a directory that has "Allow from 127.0.0.1"

suppose I don't want to run as root?

what does the error log say, exactly?

Laserl then you don't

6 2007] [error] [client 0.0.0.0] client denied by server configuration:

client denied by server configuration

client denied by server configuration is http://wiki.apache.org/httpd/ClientDeniedByServerConfiguration

^^

Is there a channel dedicated to Apache Jakarta or HttpClient?

My logs show a Get request from 127.0.0.1 which seems rather unusual. Can anyone explain why this would occur?

what does it look like?
apc

Try using http://apache.pastebin.ca - It's a good pastebin, and is even set up to highlight Apache 'stuff'.

4 -0600] "GET / HTTP/1.0" 200
why would the loopback adapter access my web server

fajita, the directory is specifically allowing access to 127.0.0.1

http://httpd.apache.org/docs/2.0/mod/core.html#directory...

Alright; since I'm not being redirected to a specific Jakarta channel, I'll dump my question in here.

look for duplicate entries.

there aren't any

When using HttpClient's MultiThreadedHttpConnectionManager with a non-default Protocol; it errors like such:
Host connection pool not found, hostConfig=HostConfiguration[host=https://central.lyndir.com]
5 PM org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ConnectionPool
can anyone assertain the cause and possible solution?

as I see it, the problem has something to do with apache not recognizing me as 127.0.0.1

no.
that error means that apache is unable to read the content.

here is the config http://apache.pastebin.ca/630049

pastebin the contents of conf/extra/httpd-vhosts.conf

every line of that file is commented out

Allow from 127.0.0.1
that is causing it.
since the requests are NOT coming from 127.0.0.1, then everything gets denied
most of the time, requests will come from the local IP range.

how can they not come from 127.0.0.1?

they don't
they come from 10.x.x.x or 192.168.x.x
whatever range you use.
if you want to see, put allow from All and look at your access log.

telnet localhost 80 and type GET /
if that returns content, then the config is valid
simple

Everything should be made as simple as possible, but not simpler

adaptr, it returns a 403

403

403 is Forbidden or don't forget to look in the error log

however, restricting the docroot to 127.0.0.1 is utterly stupid.

^^^

thumbs, how else would I restrict to access to certain folders only to my local machine?

or local IP

also
Listen 127.0.0.1:80
that will achieve your goal.

Amblin fantastic! ServerName localhost:80
and you wonder why it works not so good...

doesn't that completely reject connections from outside?

no, it has nothing whatsoever to do with any kind of connections at all

yes. You wanted to do as much.
listen to the local loopback only

I want to restrict access to 127.0.0.1 on certain folders, not everything

restrict it to the LOCAL IP of the server, NOT 127.0.0.1

Amblin Deny from All / Allow From whatever COULD be said to be... pointless
thumbs he's explicitly denying from All
period

yes, but I want to make my point too

you have a better point than insanity ?

requests coming from the localmachine will appear as coming from 10.x.x.x

I just want the behaviour back from before I updated from 2.2.2 to 2.2.4 :|

NOT 127.0.0.1

so his loopback adapter is b0rked, and ?

I still am not any smarter

the point is
you Listen 80
then set a servername without a port

#
ServerName localhost:80

sigh

DO NOT PUT THE PORT IN THE HOSTNAME

and *give* it a hostname, not the one name that is sure to cause trouble

and make sure the hostname resolves to a LOCAL IP, not 127.0.0.1

you can call it "sirfucksalot" for all you like
hold on to that patience my man, it was hard-won

I honestly can't figure it out

Hi
Suse Server + ConfixX =(
mod_rwrite is loadet, but i cant use it by enable in the htaccess file, Error 500

did your errorlog give you a hint? AllowOverride?

Covener thats my problem, its a demed confixx server, no access to the logfiles
but ive seen in the httpd.conf mod-rewrite is loadet

i'm at the reinstall stage for php5 - I have these options to check yes or no too (which ones do i pick and which do i leave out): 1) Build CLI version 2) Build CGI version 3) Build apache module 4) Enable debug 5) Suhosin 6) Zend multbyte 7) IPV6 8) force-cgi-redirect 9) discard path support 10) fast-cgi support 11) path-info-check cgi
or do i ONLY pick number 3 ?
or does apache/php need the cgi version ?

1, 2, 3, 6, 7, 10
I think

so no path info check ? that's the only other enabled by default

so set it up to

is it suhosin or zend that breaks alot of php sites ? or both ?

I don´t know suhosin

is zend good to have ?

I just kbnow zend, and i love it

you have to config it ?
or it just "runs" in the back doing its thang :P
?

Zend is the module for zend Encoding
a way to crypth your php code

and do i need that ? for you average vbulletin / phpmyadmin style php usage ?
it doesn't 'break' anything ? :P

afaik not
But im totaly drunken
So be (englsich wordfor "vorsichtig")
So be Angry I could say
(Sorry for my bad english) Im a jung german
Now its moday -.
but HOLIDAY

it's only SUNday

3
german

german is finde

is it bastille day there or something?

bastille?

bastille is creally only for computers that have multiple users IMO ... I'm the only one with access to the box

I still go to school, summer holydays
6 weeks full of happyness
- gone to search something to eat *jam jam*

http://apache.pastebin.ca/630127
I'm going nuts and clearly forgetting something or failing to RTFM correctly, but that rewrite is not doing what I want.
Anyone?

hmmm
Rewritelog

Rewritelog is http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html#rewritelog http://httpd.apache.org/docs/mod/mod_rewrite.html#rewritelog. Use this logging to help design and track rewrite; see also rewriteloglevel; and cannot be used from .htaccess

Yeah, I am looking at the rewrite logs.

Rewriteloglevel 9

RewriteLogLevel 9 makes sure you get all possible rewrite log messages. also, make sure you turn it down when you're done to prevent performance impacts

I think I am getting closer I just realised those conditions are applying to the wrong rule.

rewriteengine on

if you have RewriteEngine On in main config and want the general rules applied in a vhost, it's not enough to just put RewriteOptions inherit in the vhost, RewriteEngine On is needed as well!

This shouldn't be hard - I want to rewrite any .gif, png, jpg, jpeg, js, or css file to themes/$1 and anything else to index.php?url=$1 -- But I just can't make it work.

Sycofant#/ http://www.ilovejackdaniels.com/apache/mod_rewrite-cheat-sheet/

I do love Jack Daniels.

lol
can someone tell me if this would be classed as web 2.0 http://www.exploiting.tv/index_images.html

noodl, it's not web 2.0 unless you have rounded corners
i mean no
never mind, he's gone

growltiger hehe

i'm so sick of this "web 2.0" hype

no it's cool
i don't care about rounded corners though lol
web2.0 is neat

http://bahumbug.wordpress.com/2007/02/14/web-20-with-substance/

growltiger perhaps something killed your first impression?

noodl, it's just all the hype
no rather

bahumbug hmm.. i never realized "normal" people (= non developers) talked about web2.0? can't beleive it's on radio in the UK

come on

the hype hasn't hit swedish radio

Didn't it just get huge funding in the UK?

my mother told me about "internet 2" monthes ago. I was laughing at her

lol
Whtiger what? some web2.0 group at a university?

I saw it in my rss feeds awhile ago.. dang google reader and the lack of a search

heh

found it, nevermind, it's for web3.0

haha
that i haven't heard about
of*

http://money.cnn.com/news/newsfeeds/articles/djhighlights/200707201712DOWJONESDJONLINE000829.htm

can anyone here get a response from http://svn.apache.org?
can anyone here get a response from a href="http://svn.apache.org"http://svn.apache.org/a?

servertokens svn.apache.org

Couldn't get a useful value for http://svn.apache.org

Uh-oh.

Can someone explain to me why my apache logs show requests coming from 127.0.0.1?

127.0.0.1

127.0.0.1 is your address. Works fine for testing if you don't have a real IP or domain name. Localhost also resolves to this ip.

^

if you have "HostNameLookup On", some smart ass might reverse resolve his IP address to a funky name such as "127.0.0.1"

Is this an issue

not if you're surfing to "localhost" from that box

someone is hacking you from 127.0.0.1. Make sure your firewall keeps them out.

What happens is i get a series of requests all with similiar but different ip addresses
in the middle i get a request from 127.0.0.1
They all resolve to aol
except the localhost obviously

that's a new "feature" in 2.2
it's a way apache tells child processes it's time to die

what kind of "feature" is that
oh ok
when will this generally occur

all the time, and it's annoying

it only happens when I get requests from this aol ip address
it shows as a normal GET /HTTP/1.0 request
just that it comes from the loopback adapter

Hi

hmm - i have a vbulletin site i recently moved over from apache on windows to apache on freebsd - there is a shoutbox (vbshout) at the bottom of the site - except it no longer updates when you type in a shout (it takes in the text but doesn't show it in the main shoutbox)
bhmm - i have a vbulletin site i recently moved over from apache on windows to apache on freebsd - there is a shoutbox (vbshout) at the bottom of the site - except it no longer updates when you type in a shout (it takes in the text but doesn't show it in the main shoutbox)/b
nvm - figured it out write permission :P
it's getting late and i'm tired x-)

sedeki ping out!

Hi there

hello dererk

RewriteRule ^/*$ /home/dazy/public_html/index.html [R]
It's supposed to redirect all the hits to /home/dazy/public_html/index.html, but it does not even log... I can't understand what's wrong
sedeki, Hi
Shit

Shit is solid excrement... please don't use such language!

Nevermind

where is the rule applied? THe config file or within an htaccess file?

thumbs, It was a mistake I did, it's done now
sorry

Anyone here have any experience using the Zend Framework with 1&1 (host)? Adding the recommended RewriteRule in .htaccess results in an HTTP500 Internal server error.

what does the error log say, exactly?

I'm actually trying to find that now.

ok.
tell us when you have it.

http://apache.pastebin.ca/630214
This is driving me mental.

grrr. They don't allow access to Apache's error log file.

Ah, doesn't that make you hate 1&1?

For shared hosting, yeah.

first of all, take out all the ifmodule lines.

...why? I mean I know they'd somewhat redundat, but will it actually change anything?

without seeing the error, it's hard to know what does not work. Can you contact your admin?

I'm actually moving the mountain to mohammad now, so to speak.

if I am to help you, I want them out. FOr now.

Yeah, I'm going to have to.

okay hang on.

hmm

if you really like them, but them back in later.

Alright... all done.
It now reads the same as the thing, but with no ..
I'm just going to make a couple more changes, then I'll pastebin again if it's still bung


Related Topic: