De: Ashley Sheridan
Para: m...@nikha.org; Domain nikha.org
Cc: php-general@lists.php.net
Enviadas: Quarta-feira, 25 de Setembro de 2013 2:22
Assunto: Re: [PHP] Apache
"Domain nikha.org" wrote:
>Ashley Sheridan am Montag, 23. September
"Domain nikha.org" wrote:
>Ashley Sheridan am Dienstag, 24. September 2013 - 18:22:
>
>> In an earlier email I detailed some methods for validating other
>types, such
>as DomDocument for HTML, XML, svg, etc, or fpdf for PDF.
>>
>Fine, gratulations!
>
>> And on behalf images: GD you are using h
Ashley Sheridan am Dienstag, 24. September 2013 - 18:22:
> In an earlier email I detailed some methods for validating other types, such
as DomDocument for HTML, XML, svg, etc, or fpdf for PDF.
>
Fine, gratulations!
> And on behalf images: GD you are using handles only
> >jpeg, gif and png. Ther
"Domain nikha.org" wrote:
>Ashley Sheridan am Montag, 23. September 2013 - 21:35:
>
>> No, no, no! That is not a good stand-in for fundamental security
>> principles!
>>
>> This is a better method for ensuring an image is really an image:
>>
>> > if(isset($_FILES['file']))
>> {
>> list($w
Tamara Temple am Montag, 23. September 2013 - 22:38:
>
> On Sep 23, 2013, at 1:36 PM, Domain nikha.org wrote:
>
> > Better solutions?
>
> One I have used, and continue to use in Apache environments, is place
uploads only in a place where they cannot be executed by turning off
such options and h
Ashley Sheridan am Montag, 23. September 2013 - 21:35:
> No, no, no! That is not a good stand-in for fundamental security
> principles!
>
> This is a better method for ensuring an image is really an image:
>
> if(isset($_FILES['file']))
> {
> list($width, $height) = getimagesize($_FILES['
On 23 Sep 2013, at 11:37, Domain nikha.org wrote:
> Tamara Temple am Montag, 23. September 2013 - 06:49:
>>
>> GoDaddy's default plesk-generated configuration for FastCGI-served
>> PHP
> files only looked to see if the file contained ".php" somewhere on
> it's path - i.e. it would happily exec
On Sep 23, 2013, at 1:36 PM, Domain nikha.org wrote:
> Better solutions?
One I have used, and continue to use in Apache environments, is place uploads
only in a place where they cannot be executed by turning off such options and
handlers in that directory. This is *in addition* to untainting
On Mon, 2013-09-23 at 20:36 +0200, Domain nikha.org wrote:
> Stuart Dallas am Montag, 23. September 2013 - 12:58:
>
> > And, honestly, who would have a PHP file per language? I think it's
> perfectly reasonable to not allow that, because duplicating PHP code
> across many files is an incredible s
Stuart Dallas am Montag, 23. September 2013 - 12:58:
> And, honestly, who would have a PHP file per language? I think it's
perfectly reasonable to not allow that, because duplicating PHP code
across many files is an incredible stupid way to support multiple
languages.
>
I agree!! Didn't even know
On 23 Sep 2013, at 11:37, Domain nikha.org wrote:
> Tamara Temple am Montag, 23. September 2013 - 06:49:
>>
>> GoDaddy's default plesk-generated configuration for FastCGI-served PHP
> files only looked to see if the file contained ".php" somewhere on it's
> path - i.e. it would happily execute '
Tamara Temple am Montag, 23. September 2013 - 06:49:
>
> GoDaddy's default plesk-generated configuration for FastCGI-served PHP
files only looked to see if the file contained ".php" somewhere on it's
path - i.e. it would happily execute 'malicilous.php.txt' as php code,
even something ridiculous l
Hi Arno!
Seems to be the standard behaviour of Apache servers all over the
world!
I was testing this way:
First I renamed a real, proper GIF-file to "this.php.nice.gif", put it
in the root of my websites and called it with the browser. Result:
"Error 500 Internal Server Error". The logfile tells:
On 10 Feb 2013, at 06:57, AmirBehzad Eslami wrote:
> Stuart, thanks for your detailed response.
>
> >> I find it unlikely that Apache is your bottleneck,
> >> especially with a service involving MySQL.
> >> How have you come to this conclusion?
>
> Apache is the entry-point to our service, an
Stuart, thanks for your detailed response.
>> I find it unlikely that Apache is your bottleneck,
>> especially with a service involving MySQL.
>> How have you come to this conclusion?
Apache is the entry-point to our service, and I did a
benchmark with AB to see how it can handle concurrent
requ
On Sat, Feb 9, 2013 at 12:21 PM, Stuart Dallas wrote:
> On 9 Feb 2013, at 16:42, AmirBehzad Eslami wrote:
>> We're a developing a PHP-driven web service with a RESTful API,
>> and we have a dedicated Linux server for that with 6GB of RAM.
> I would personally recommend nginx + php-fpm over Apach
On 9 Feb 2013, at 16:42, AmirBehzad Eslami wrote:
> We're a developing a PHP-driven web service with a RESTful API,
> and we have a dedicated Linux server for that with 6GB of RAM.
>
> Since this service will be used by many clients in a concurrent
> manner, we'll face with a high-load on our w
Bastein,
Response is unique per request, and not cachable. The app
fetches records from MySQL (say, templates), performs a
process on them, and returns the generated output as JSON.
We were thinking to use Redis to reduce queries against
MySQL, but still Apache will remain as our bottleneck.
On
Bastien Koert
On 2013-02-09, at 11:42 AM, AmirBehzad Eslami wrote:
> Dear list,
>
> We're a developing a PHP-driven web service with a RESTful API,
> and we have a dedicated Linux server for that with 6GB of RAM.
>
> Since this service will be used by many clients in a concurrent
> manner,
Hey guys,
Thank-you for getting back to me. Considering that I'm building
everything again from the ground up, I think I will make the change
from running mod_php and go for a fastcgi setup.
My only other question is, if I go with fastcgi will it work with
accelerators such as APC and xcache? I h
Hi Daniel,
You should be able to. Haven't tried it with that specific version, but
generally PHP is designed to run with any version of Apache. If it doesn't
work as a module you should always be able to compile it as a fastcgi
application and that should work. Then you can even setup different us
On Fri, Feb 24, 2012 at 3:58 AM, Daniel Fenn wrote:
> Hi,
>
> Just a quick question, will I be able to run Apache 2.4.1 and php
> 5.3.10 together? Or will I need to wait for php to be updated? I'm
> setting this up on CentOs 6.2
>
> Regards,
> Daniel Fenn
>
> --
> PHP General Mailing List (http:/
On Fri, 7 Jan 2011 16:24:13 -0500
Daniel Brown wrote:
> On Thu, Jan 6, 2011 at 22:55, Jimmy Stewpot
> wrote:
> >
> > Is there a method or way that I can enable a 'debug' mode in php
> > which would help me track down and identify the root cause of these
> > problems? If anyone has any suggestion
On Thu, Jan 6, 2011 at 22:55, Jimmy Stewpot wrote:
>
> Is there a method or way that I can enable a 'debug' mode in php which would
> help me track down and identify the root cause of these problems?
> If anyone has any suggestions on what I can do to try and get further down
> the track to enli
They are doing a preso about it @ ApacheCon.
On Wed, Nov 03, 2010 at 03:34:01PM -0400, Daniel P. Brown wrote:
> On Wed, Nov 3, 2010 at 14:48, Shreyas Agasthya wrote:
> > Thiago,
> >
> > I would like to join this. Let me know how I can help you with this. Please
> > be explicit with your requests
On Wed, Nov 3, 2010 at 14:48, Shreyas Agasthya wrote:
> Thiago,
>
> I would like to join this. Let me know how I can help you with this. Please
> be explicit with your requests so that we can totally test it and see if it
> could pose any risk to acceleration services provided by CDNs.
I've
Thiago,
I would like to join this. Let me know how I can help you with this. Please
be explicit with your requests so that we can totally test it and see if it
could pose any risk to acceleration services provided by CDNs.
Regards,
Shreyas
On Wed, Nov 3, 2010 at 11:51 PM, Thiago H. Pojda wrote:
> -Original Message-
> From: Robert Cummings [mailto:rob...@interjinn.com]
> Sent: Thursday, April 01, 2010 7:23 PM
> To: Daevid Vincent
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Apache rule/directive to stop serving PHP
> pages from /var/www/includes
Daevid Vincent wrote:
(Sorry if this is a duplicate. I sent one earlier with "OT:" prefixing the
subject line and I think this list software kills the message despite being
proper netiquette. *sigh*)
I have your basic web tree setup.
develo...@mypse:/var/www/dart2$ tree -d -I 'CVS'
|-- UPDATE
On 2009-10-27, at 9:33 AM, Shawn McKenzie wrote:
Jason Lixfeld wrote:
I have no doubt that this is due to an update that was done on my
system
at some point, but unfortunately I can't pinpoint where. The
upshot is
that PHP is completely unresponsive for me when run from Apache and
I'm
not
Jason Lixfeld wrote:
> I have no doubt that this is due to an update that was done on my system
> at some point, but unfortunately I can't pinpoint where. The upshot is
> that PHP is completely unresponsive for me when run from Apache and I'm
> not sure where to look. I recognize that this isn't
On Wed, 2009-10-07 at 16:49 -0400, Paul M Foster wrote:
> On Wed, Oct 07, 2009 at 11:52:00AM +0100, Russell Seymour wrote:
>
> > Morning,
> >
> > I am trying to make my URLs more search engine friendly and I have come
> > up against a problem.
> >
> > I want the following URL:
> >
> > mysite.
Hey Russell,
After Going through all the threads in this post, it is correct to say, GET
Rid of the space. Use "-" hyphen for SEO friendly URL's. Its completely
OK.
Other thing which is very handy is urlencode and urldecode functions. When
you are sending a query string use urlencode function.
On Wed, Oct 07, 2009 at 11:52:00AM +0100, Russell Seymour wrote:
> Morning,
>
> I am trying to make my URLs more search engine friendly and I have come
> up against a problem.
>
> I want the following URL:
>
> mysite.example.com/articles/Test Story
>
> to be proxied to
>
> mysite.example.c
- Original Message
> From: Russell Seymour
> To: php-general@lists.php.net
> Sent: Wed, October 7, 2009 3:52:00 AM
> Subject: [PHP] Apache Rewrite Issues
>
> Morning,
>
> I am trying to make my URLs more search engine friendly and I have come up
> against a problem.
>
> I want the fol
Jonathan Tapicer wrote:
What version, VC6 or VC9, TS or NTS? I use VC6 TS and the dll is there...
Of cause no one has asked yet which version you use if you have to test
BOTH Apache and IIS ;)
--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=conta
Sorry my mistake, I was looking in the wrong built.
Thank you!
- Original Message -
From: "Adam Shannon"
Newsgroups: php.general
To: "Jonathan Tapicer"
Cc: "Pablo Viquez" ;
Sent: Wednesday, July 01, 2009 5:50 PM
Subject: Re: [PHP] Apache module PHP 5.3
Yes, you need to use the V6 installer, I did the same thing with the V9 and
it won't work. Only after uninstalling PHP did I see that line of text
saying which one to use...
On Wed, Jul 1, 2009 at 5:54 PM, Jonathan Tapicer wrote:
> What version, VC6 or VC9, TS or NTS? I use VC6 TS and the dll i
What version, VC6 or VC9, TS or NTS? I use VC6 TS and the dll is there...
On Wed, Jul 1, 2009 at 7:31 PM, Pablo Viquez wrote:
> Hi,
>
> I just downloaded the new stable version of PHP 5.3 and I couldnt find the
> php5apache2_2.dll file.
>
> Is the apache module on windows no longer supported?
>
>
vuthecuong wrote:
Yeah I know my script don't care at all about security. I'm keeping it fot
the sake of simplicity.
After making it 'work', I will take a look seriously about security.
So, why it not create user for me?
thanks and regards
I'm not that familiar with sudo, but I suspect it m
Michael A. Peters wrote:
>
> vuthecuong wrote:
>>
>> Hi all
>> My server is centos 5.1 with php 5.1.6.
>> In my app I want apache to add user through sudo.
>>
>> My sudoers file is:
>> %apache ALL=(ALL) NOPASSWD: ALL
>> %tony ALL=(ALL) NOPASSWD: ALL
>>
>> My test.php í:
>> > $username="hixhi
On Fri, 2009-05-22 at 05:01 -0700, Michael A. Peters wrote:
> Make damn sure you validate the $username variable whatever solution
> you
> end up using.
Yeah, I have a funny story along those lines. I was doing the same sort
of thing, but allowing it to change passwords for a user. Luckily it wa
vuthecuong wrote:
Hi all
My server is centos 5.1 with php 5.1.6.
In my app I want apache to add user through sudo.
My sudoers file is:
%apache ALL=(ALL) NOPASSWD: ALL
%tony ALL=(ALL) NOPASSWD: ALL
My test.php í:
That's not a very secure sudoers file.
But you probably don't want to use sudo
On Fri, Mar 20, 2009 at 17:27, Ernie Kemp wrote:
>
> Please point me in the right direction with this as this is becoming a pain
> in the butt.
Ernie,
Check in with the Apache folks:
http://httpd.apache.org/lists.html
--
daniel.br...@parasane.net || danbr...@php.net
http://ww
Nathan Rixham wrote:
Marc Venturini wrote:
Hi all,
Thank you all very much for your contributions.
I tried to monitor the network with Wireshark: there is only one request
from my browser to the server, and not any answer (redirect or
otherwise).
This means the problem is definitely not with
Marc Venturini wrote:
Hi all,
Thank you all very much for your contributions.
I tried to monitor the network with Wireshark: there is only one request
from my browser to the server, and not any answer (redirect or otherwise).
This means the problem is definitely not with unexpected browser requ
Hi all,
Thank you all very much for your contributions.
I tried to monitor the network with Wireshark: there is only one request
from my browser to the server, and not any answer (redirect or otherwise).
This means the problem is definitely not with unexpected browser requests.
Calling die() at
On Wed, Mar 11, 2009 at 10:30 AM, Martin Zvarík wrote:
> Marc Venturini napsal(a):
>>
>> Hi all,
>>
>> I wrote a PHP script running in Apache which takes more than 30 seconds to
>> complete. It uses set_time_limit() to extend the time it is allowed to
>> run.
>> The script generates thumbnails fro
Marc Venturini napsal(a):
Hi all,
I wrote a PHP script running in Apache which takes more than 30 seconds to
complete. It uses set_time_limit() to extend the time it is allowed to run.
The script generates thumbnails from a list of images. Upon completion, the
script redirects the browser to ano
2009/2/17 Paul M Foster :
> Well, the only way I know this is to look at the Apache logs. I was
> getting a lot of 3xx and 4xx errors (which don't show up directly in the
> browser), and looking at the requests, it appears that the browser is
> indeed dictating the place to find images, etc., based
On Tue, Feb 17, 2009 at 12:27:58PM +, Stuart wrote:
> 2009/2/17 Paul M Foster :
> > On Mon, Feb 16, 2009 at 08:34:22PM +, Stuart wrote:
> >
> >
> >
> >> This is your problem, you're not understanding where the paths are
> >> being resolved. Apache has absolutely no involvement in resolvin
2009/2/17 Paul M Foster :
> On Mon, Feb 16, 2009 at 08:34:22PM +, Stuart wrote:
>
>
>
>> This is your problem, you're not understanding where the paths are
>> being resolved. Apache has absolutely no involvement in resolving
>> relative paths in your HTML files to absolute URLs. The browser do
> I'm submitting a url like this:
>
> http://mysite.com/index.php/alfa/bravo/charlie/delta
>
> The index.php calls has code to decode the url segments
> (alfa/bravo/charlie/delta). It determines that the controller is alfa,
> the method is bravo, and converts charlie and delta to $_GET['charlie']
>
Paul M Foster wrote:
> On Mon, Feb 16, 2009 at 08:34:22PM +, Stuart wrote:
>
> FWIW, I've been doing computers since before the CP/M days
> (pre-pre-DOS), so I do know the difference between absolute and relative
> paths.
>
> I'm a little doubtful about the browser specifying things like the
On Mon, Feb 16, 2009 at 08:34:22PM +, Stuart wrote:
> This is your problem, you're not understanding where the paths are
> being resolved. Apache has absolutely no involvement in resolving
> relative paths in your HTML files to absolute URLs. The browser does
> this. All you need to do is us
On Mon, Feb 16, 2009 at 08:53:24PM +, Ashley Sheridan wrote:
> I've read through this thread and not noticed anyone mention the
> tag. This allows you to specify a URL to which relative ones are mapped
> to, which could be just what you're looking for, as I believe all the
> browsers suppor
2009/2/16 Ashley Sheridan :
> On Mon, 2009-02-16 at 20:34 +, Stuart wrote:
>> 2009/2/16 Paul M Foster :
>> > On Mon, Feb 16, 2009 at 07:30:57PM +0200, Thodoris wrote:
>> >
>> >>
>> >>> I'm submitting a url like this:
>> >>>
>> >>> http://mysite.com/index.php/alfa/bravo/charlie/delta
>> >>>
>> >
On Mon, 2009-02-16 at 20:34 +, Stuart wrote:
> 2009/2/16 Paul M Foster :
> > On Mon, Feb 16, 2009 at 07:30:57PM +0200, Thodoris wrote:
> >
> >>
> >>> I'm submitting a url like this:
> >>>
> >>> http://mysite.com/index.php/alfa/bravo/charlie/delta
> >>>
> >>> The index.php calls has code to deco
2009/2/16 Paul M Foster :
> On Mon, Feb 16, 2009 at 07:30:57PM +0200, Thodoris wrote:
>
>>
>>> I'm submitting a url like this:
>>>
>>> http://mysite.com/index.php/alfa/bravo/charlie/delta
>>>
>>> The index.php calls has code to decode the url segments
>>> (alfa/bravo/charlie/delta). It determines t
On Mon, Feb 16, 2009 at 07:30:57PM +0200, Thodoris wrote:
>
>> I'm submitting a url like this:
>>
>> http://mysite.com/index.php/alfa/bravo/charlie/delta
>>
>> The index.php calls has code to decode the url segments
>> (alfa/bravo/charlie/delta). It determines that the controller is alfa,
>> the m
I'm submitting a url like this:
http://mysite.com/index.php/alfa/bravo/charlie/delta
The index.php calls has code to decode the url segments
(alfa/bravo/charlie/delta). It determines that the controller is alfa,
the method is bravo, and converts charlie and delta to $_GET['charlie']
= 'delta'.
Symfony uses exactly this method for pretty urls. Check it out. Maybe it has
everything you want :). Have a look at symfony's .htaccess rewrite rules at
least. You have a few possibilities here: You can make ur own rewrite for
urls that contain index.php or rewrite
http://mysite.com/alfa/bravo/char
Paul M Foster wrote:
> I'm submitting a url like this:
>
> http://mysite.com/index.php/alfa/bravo/charlie/delta
Why would you want to do such a thing?
If you want parameters in the filename without using get, use
mod_rewrite and explode the page name - and use a delimiter or than a /
- IE use a
2009/2/16 Paul M Foster :
> I'm submitting a url like this:
>
> http://mysite.com/index.php/alfa/bravo/charlie/delta
>
> The index.php calls has code to decode the url segments
> (alfa/bravo/charlie/delta). It determines that the controller is alfa,
> the method is bravo, and converts charlie and d
Ok...now that makes sense, I was looking for the documentroot, not the
server root...
Thanks to everyone ... Im sure I will be back for more...
Gary
"Nathan Rixham" wrote in message
news:4968ba7d.5000...@gmail.com...
> Gary wrote:
>> Ok, I believe I have it workingmeaning when I click o
Gary wrote:
Ok, I believe I have it workingmeaning when I click on Live Data View, I
see the date appear in my datetest.php page
But Im still confused...
The succesful configuration (providing I am not suffering from premature
exhuberation) is
Testing server folder: c:\xampp\htdocs\barr
Ok, I believe I have it workingmeaning when I click on Live Data View, I
see the date appear in my datetest.php page
But Im still confused...
The succesful configuration (providing I am not suffering from premature
exhuberation) is
Testing server folder: c:\xampp\htdocs\barrister (the loca
Gary wrote:
Ok, not yet...
If the file I want to test resides in My Documents\Sites\nameofsite, I set
my "Test server folder" in DW to map to here...correct?
Now down to URL prefix, I have tried
http://localhost
http://localhost/sitename
C:/xampp/apache,( which btw is the Site Root as describ
The fundamental thing you're missing, as I understand it (I'm sure someone
will speak up if I'm wrong), is that you shouldn't be storing your site
outside the htdocs directory. This is where Apache looks for files it can
display in your browser.
So, you need to move all of the files you have in "M
Ok, not yet...
If the file I want to test resides in My Documents\Sites\nameofsite, I set
my "Test server folder" in DW to map to here...correct?
Now down to URL prefix, I have tried
http://localhost
http://localhost/sitename
C:/xampp/apache,( which btw is the Site Root as described in "httpd.co
In general, as Phpster points out, your development will take place in
directories underneath your htdocs directory, which, if you installed XAMPP
into the root directory on C:, would be something like
C:\xampp\htdocs\yourdevdirectory.
Depending on how XAMPP is configured (you can make many change
Check the httpd.conf file for the location of the web dir. It's the
documentroot directive
Bastien
Sent from my iPod
On Jan 9, 2009, at 9:13 PM, "Gary" wrote:
Not sure how to word this, but I have just installed the XAMMP
package with
Apache, PHP for the purpose of having a testing serv
Chris wrote:
> I'm sure there would be a way to do it with ModRewrite or something
> but it's 5 lines of code in php so I'd do it there *shrug*.
See my reply to Arno - in Apache it's only 2 lines of config. :-)
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
Hi Arno
No, when you use it's not filesystem specific any more. But I've
just found out that you can't match on the query-string.
> These images aren't on my server, and
> the requests aren't trying to access images on my server. What I see
> are requests using the php script on my server to tr
On Thursday 24 July 2008 09:38:57 Chris wrote:
> Børge Holen wrote:
> > On Thursday 24 July 2008 09:14:55 Chris wrote:
> >>> I was hoping there's a way to tell apache to block requests where
> >>> id=non_numeric.
> >>
> >> It's trying to do a remote inclusion.
> >>
> >> It's easy for you to fix in
> I was hoping there's a way to tell apache to block requests where
> id=non_numeric.
It's trying to do a remote inclusion.
It's easy for you to fix in php:
if (isset($_GET['id'])) {
if (!is_numeric($_GET['id'])) {
die("Die hacker die!");
}
}
I'm sure there woul
> Thanks, I'm already doing something like that, but I want to stop it getting
> to php.
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
Ask on an apache list how to use it.
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To u
Børge Holen wrote:
> On Thursday 24 July 2008 09:14:55 Chris wrote:
>>> I was hoping there's a way to tell apache to block requests where
>>> id=non_numeric.
>> It's trying to do a remote inclusion.
>>
>> It's easy for you to fix in php:
>>
>> if (isset($_GET['id'])) {
>> if (!is_numeric($_GET
> I was hoping there's a way to tell apache to block requests where
> id=non_numeric.
It's trying to do a remote inclusion.
It's easy for you to fix in php:
if (isset($_GET['id'])) {
if (!is_numeric($_GET['id'])) {
die("Die hacker die!");
}
}
I'm sure there woul
> Is there a
> way for apache to catch these requests before passing it to php? Is it
> more efficient for apache to handle this than php?
2 x yes. I think you could probably use and ban all access
with "Deny from all".
/Per Jessen, Zürich
--
Thanks for replying Per. Isn't "Deny from all" mor
On Thursday 24 July 2008 09:14:55 Chris wrote:
> > I was hoping there's a way to tell apache to block requests where
> > id=non_numeric.
>
> It's trying to do a remote inclusion.
>
> It's easy for you to fix in php:
>
> if (isset($_GET['id'])) {
> if (!is_numeric($_GET['id'])) {
>
> I'm getting a lot of bogus requsts in the form of
> "index.php?id=http://64.15.67.17/~babysona/logo.jpg?";, sometimes more
> than a hundred a day per domain. The php script catches it, logs the
> request, sends an email report and replies with "access denied", but
> it takes processing which
Arno Kuhl wrote:
I'm getting a lot of bogus requsts in the form of
"index.php?id=http://64.15.67.17/~babysona/logo.jpg?";, sometimes more than a
hundred a day per domain. The php script catches it, logs the request, sends
an email report and replies with "access denied", but it takes processing
w
Arno Kuhl wrote:
> Is there a
> way for apache to catch these requests before passing it to php? Is it
> more efficient for apache to handle this than php?
2 x yes. I think you could probably use and ban all
access with "Deny from all".
/Per Jessen, Zürich
--
PHP General Mailing List (http:
On Fri, Jul 11, 2008 at 8:55 AM, bruce <[EMAIL PROTECTED]> wrote:
> Hi..
>
> I recognize that this might be off base!! I've got an apache/vhosts question
> that i'm grappling with. I've got a linux/apache system, and I'm trying to
> get multiple vhosts to work. If this is an appropriate place, I'll
bruce wrote:
Hi..
I recognize that this might be off base!! I've got an apache/vhosts question
that i'm grappling with. I've got a linux/apache system, and I'm trying to
get multiple vhosts to work. If this is an appropriate place, I'll provide
additional information on the issue.
I've looked/r
El Fri, 13 Jun 2008 10:23:29 -0400
"Daniel Brown" <[EMAIL PROTECTED]> escribió:
> You can start by asking your question on an Apache list. This has
> nothing to do with PHP. ;-P
>
> To answer your question, use this in your .htaccess file:
>
> RewriteCond %{SCRIPT_FILENAME} index
> Rew
On Fri, Jun 13, 2008 at 4:11 AM, Miguel J. Jiménez
<[EMAIL PROTECTED]> wrote:
>
> How can I make apache work fine with "http://foo/INDEX/mp3"; and
> redirect to an error page (or moved url or wahtever)
> with "http://foo/INDEX/index.php?m=mp3"; (from the client view)
You can start by asking yo
On Mon, May 05, 2008 at 02:41:17AM -0700, Waynn Lue wrote:
> My main problem with using xdebug was that it seemed to require KDE to
> interpret the traces that it took, which I don't have installed on my
> server. I only spent 15 minutes looking at it, though, so that could
> be completely unjusti
Waynn Lue wrote:
My main problem with using xdebug was that it seemed to require KDE to
interpret the traces that it took, which I don't have installed on my
server. I only spent 15 minutes looking at it, though, so that could
be completely unjustified...
Would upgrading glibc help?
Hi,
Rece
My main problem with using xdebug was that it seemed to require KDE to
interpret the traces that it took, which I don't have installed on my
server. I only spent 15 minutes looking at it, though, so that could
be completely unjustified...
Would upgrading glibc help?
On Sat, May 3, 2008 at 12:48
On Fri, May 02, 2008 at 10:24:03PM -0700, Waynn Lue wrote:
> *** glibc detected *** free(): invalid pointer: 0x002a9956d000 ***
Hi Waynn,
try to use xdebug instead of APD to profile you app. There is a problem with
your glibc
version and your APD version.
In my environment php 5.2.6 with s
On 10/31/07, Alberto García Gómez <[EMAIL PROTECTED]> wrote:
> I have this URL
>
> http://www.myserver.com/dir1/dir2/page.html
>
> and I wish to rewrite the url using mod_rewrite to add a ~ after the first
> dir always, eg.:
>
> http://www.myserver.com/~dir1/dir2/page.html
>
> Please it's very impo
Are you sure it's not --with-apxs2 instead of --with-apx2 ???
On Fri, August 17, 2007 8:00 am, ROUKOS Michel wrote:
> Hi,
>
> I am integrating httpd-2.0.59 with php-5.2.1 and Sybase 12.5 on a
> solaris 8 machine. I followed these steps:
> Install apache:
>
> ./configure --prefix=/usr/local/apache2
ules/ directory.
>
> Thanks and regards,
> Michel
>
> -Original Message-
> From: Lens Development [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 17, 2007 7:57 PM
> To: ROUKOS Michel
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] apache/php with syb
-
From: Lens Development [mailto:[EMAIL PROTECTED]
Sent: Friday, August 17, 2007 7:57 PM
To: ROUKOS Michel
Cc: php-general@lists.php.net
Subject: Re: [PHP] apache/php with sybase12.5
ROUKOS Michel wrote:
> Hi,
>
> I am integrating httpd-2.0.59 with php-5.2.1 and Sybase 12.5 on a
&g
ROUKOS Michel wrote:
> Hi,
>
> I am integrating httpd-2.0.59 with php-5.2.1 and Sybase 12.5 on a
> solaris 8 machine. I followed these steps:
> Install apache:
>
> ./configure --prefix=/usr/local/apache2 --enable-so
> make
> make install
>
>
> PHP configuration:
>
>
> I edited this file php-5.2.1/
Hi,
If I place the following line in httpd.conf
LoadModule php5_module "modules/libphp5.so"
I receive this error:
Syntax error on line 232 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/libphp5.so into server: ld.so.1:
/usr/local/apache2/bin/httpd: fatal:
/usr/loca
On Fri, 17 Aug 2007 16:00:35 +0300, "ROUKOS Michel" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am integrating httpd-2.0.59 with php-5.2.1 and Sybase 12.5 on a
> solaris 8 machine. I followed these steps:
> Install apache:
>
> ./configure --prefix=/usr/local/apache2 --enable-so
> make
> make install
>
Stut wrote:
> Actually it suggests exactly that. Apache is giving PHP the query
> string, and PHP does nothing to it before it puts it in the $_SERVER
> variable. So this basically means that when you use the type-map
> Apache is not populating the query string variable.
>
> In short, I'm 5-9's%
1 - 100 of 571 matches
Mail list logo