Hey John
2009/12/1 John Corry jcorry.li...@gmail.com
My apologies, this is not strictly PHP...but it is relevant to a great
number of PHP application frameworks that many of us use or will use.
Well, still, you should ask in an apache forum :-)
I have a Magento installation that relies
On 5/3/06, Jay Blanchard [EMAIL PROTECTED] wrote:
[aha moment]
I finally get it. PHP developers are the smartest people on the planet
and therefore we know and use everything. JavaScript, Java, C++, SQL,
network management, Apache internals, women and even PHP. That is why
people come on this
John Wells wrote:
On 5/3/06, Jay Blanchard [EMAIL PROTECTED] wrote:
[aha moment]
I finally get it. PHP developers are the smartest people on the planet
and therefore we know and use everything. JavaScript, Java, C++, SQL,
network management, Apache internals, women and even PHP. That is why
blackwater dev wrote:
Hello all,
I am trying to create a simply rule so that when someone goes to:
mysite.com/users/1
They are redirected to:
mysite.com/users/index.php?uid=1
But am a bit lost looking through all the docs. I know people do this all
the time so am looking for some help.
[snip]
I am trying to create a simply rule so that when someone goes to:
mysite.com/users/1
They are redirected to:
mysite.com/users/index.php?uid=1
But am a bit lost looking through all the docs. I know people do this
all
the time so am looking for some help.
[/snip]
mod_rewrite: A
On 5/3/06, Jay Blanchard [EMAIL PROTECTED] wrote:
[snip]
I am trying to create a simply rule so that when someone goes to:
mysite.com/users/1
They are redirected to:
mysite.com/users/index.php?uid=1
But am a bit lost looking through all the docs. I know people do this
all
the time so am
Jay Blanchard wrote:
snip
[aha moment]
I finally get it. PHP developers are the smartest people on the planet
and therefore we know and use everything. JavaScript, Java, C++, SQL,
network management, Apache internals, women and even PHP. That is why
people come on this list to ask questions
[snip]
How much wood could a woodchuck chuck if a woodchuck could chuck wood?
While viewing a php web site that is.
[/snip]
If a woodchuck could chuck wood he (or she) would chuck as much wood as
he (or she) could chuck while viewing a php web site.
Told you.
--
PHP General Mailing List
On Wed, 2006-05-03 at 15:36, Jay Blanchard wrote:
[snip]
How much wood could a woodchuck chuck if a woodchuck could chuck wood?
While viewing a php web site that is.
[/snip]
If a woodchuck could chuck wood he (or she) would chuck as much wood as
he (or she) could chuck while viewing a
[snip]
[snip]
How much wood could a woodchuck chuck if a woodchuck could chuck wood?
While viewing a php web site that is.
[/snip]
If a woodchuck could chuck wood he (or she) would chuck as much wood
as
he (or she) could chuck while viewing a php web site.
H, I dunno if it's that
lol - I want a robe too :-) blue will be fine.
Anthony Ettinger wrote:
snip
[aha moment]
I finally get it. PHP developers are the smartest people on the planet
and therefore we know and use everything. JavaScript, Java, C++, SQL,
network management, Apache internals, women and even PHP.
John Nichel wrote:
Jay Blanchard wrote:
snip
...
How much wood could a woodchuck chuck if a woodchuck could chuck wood?
While viewing a php web site that is.
this might help in the calculation:
http://www.netsoc.tcd.ie/~allah/backup/cgi-bin/woodchuck.php
:-)
--
PHP General Mailing
BOL
Now I wish I hadn't slept through Math Class in school
Jochem Maas [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
John Nichel wrote:
Jay Blanchard wrote:
snip
...
How much wood could a woodchuck chuck if a woodchuck could chuck wood?
While viewing a php web site that
Well, I added this to the end of my .htaccess:
# Set the index page:
RedirectMatch ^/$ http://mydomain.com/folder/folder/index.php
Seems to work well, but I am still concerned about
pitfalls/optimization/consolidation... er, perfection? ;)
TIA, Cheers,
Micky
--
PHP General Mailing List
Mickey,
I'm not an expert on the topic by any stretch of the imagination, but I seem
to recall reading that it's best to move everything into httpd.conf for
performance reasons. You may want to investigate that, but otherwise I don't
see anything wrong with what you're doing.
On 4/10/06, Micky
On Mon, April 10, 2006 12:50 am, Micky Hulse wrote:
-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]
Do you need to do it with a mod_rewrite?
if not, you can do it easily in php:
header('location: folder/file.php');
exit();
in index.php.
Unfortunately, yes... I am
-Original Message-
From: Joe Wollard [mailto:[EMAIL PROTECTED]
I'm not an expert on the topic by any stretch of the
imagination, but I seem to recall reading that it's best to
move everything into httpd.conf for performance reasons. You
may want to investigate that, but
Hi Richard,
Doing it on only the URLs *you* think of typing doesn't count. Those
pesky real users can come up with some really interesting URLs to
type... :-)
Lol, I was thinking that might be a problem.
Thanks for all the great tips, I really appreicate your help.
Great info... I am
On Mon, April 10, 2006 7:08 pm, Micky Hulse wrote:
Doing it on only the URLs *you* think of typing doesn't count.
Those
pesky real users can come up with some really interesting URLs to
type... :-)
Lol, I was thinking that might be a problem.
Thanks for all the great tips, I really
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Abandon Outlook and use Eudora, or Pegasus, or webmail, or ANYTHING
other than Outlook? :-)
LOL! Yeah, I do not know what I was thinking in the first place... Eudora
sounds good to me. :D
Cheers,
Micky
--
PHP
Micky Hulse wrote:
Hi all... sorry if this is OT for PHP list... Maybe a reply off-list?
I just wanted to share my .htaccess file in the hopes that I can
hone/fool-proof-a-tize it as much as possible via your feedback and
suggestions.
Here is what I got so far...
I start by turning-on error
-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]
Do you need to do it with a mod_rewrite?
if not, you can do it easily in php:
header('location: folder/file.php');
exit();
in index.php.
Unfortunately, yes... I am using a CMS, and my current setup is forcing me
into
I found the source of my mod_rewrite problems. I was doing everything
right to start with - The odd behaviour was due to a PHP bug (http://
bugs.php.net/bug.php?id=35059) that's fixed in 4.4.2-dev and 5.1.0RC7-
dev (I'd assume 5.0.x as well). Recompiling with a new checkout works
fine.
On Sun, November 13, 2005 4:05 pm, Marcus Bointon wrote:
This seems like a simple problem...
Maybe there should be a simple solution... :-)
I have a rewrite like this:
RewriteRule ^x/([0-9]+) x.php?x=$1 [PT,L]
This maps a url like http://www.example.com/x/123 to http://
On 14 Nov 2005, at 18:51, Richard Lynch wrote:
include_path(/full/path/to/DocumentRoot: . include_path());
This may not be the right syntax/function to set include_path, but it
is a dynamic way to set the include path, from within PHP.
Yup, I tried this and it kind-of works, but still leads
Hi Marcus,
try to use realpath, dirname and other related funktion to resolv the real path.
dirname(__FILE__) ?
-- Marco
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 13 Nov 2005, at 22:15, Marco Kaiser wrote:
try to use realpath, dirname and other related funktion to resolv
the real path.
dirname(__FILE__) ?
Good point (you can tell I've been up too long). I've just had a play
with that - I appended the current path to my include_path, but it
On 10 Nov 2005, at 21:36, Richard Lynch wrote:
On Wed, November 9, 2005 10:36 pm, Dan Rossi wrote:
RewriteRule ^(.*)/(.*)/(.*)/(.*)/(.*)/(.+\.(video))$
../../phpscript.php
I should think all those .* should be .+ instead...
I mean, if somebody surfs to this URL:
On Wed, November 9, 2005 10:36 pm, Dan Rossi wrote:
Hi there, ive been having issues with mod_rewrite and apache2 with PHP
5.1RC1. I have googled the php bugs and people have been experiencing
the same issue however the php people cant see to reproduce the bug.
Its most definately doing it for
I've been having a problem with PHP 4.4.1 and mod_rewrite, which, as Geert
Booster kindly pointed out, has been reported on
http://lists.freebsd.org/pipermail/freebsd-ports/2005-November/027038.html,
which also has a link to the PHP bug report in the thread. Not sure if this
is relevant to
On 11/11/2005, at 8:36 AM, Richard Lynch wrote:
On Wed, November 9, 2005 10:36 pm, Dan Rossi wrote:
Hi there, ive been having issues with mod_rewrite and apache2 with PHP
5.1RC1. I have googled the php bugs and people have been experiencing
the same issue however the php people cant see to
On 11/11/2005, at 8:53 AM, Max Belushkin wrote:
I've been having a problem with PHP 4.4.1 and mod_rewrite, which, as
Geert
Booster kindly pointed out, has been reported on
http://lists.freebsd.org/pipermail/freebsd-ports/2005-November/
027038.html,
which also has a link to the PHP bug
On Thu, Nov 10, 2005 at 06:10:50PM +1100, Dan Rossi wrote:
On 10/11/2005, at 4:18 PM, Curt Zirzow wrote:
On Thu, Nov 10, 2005 at 03:36:07PM +1100, Dan Rossi wrote:
Hi there, ive been having issues with mod_rewrite and apache2 with PHP
5.1RC1. I have googled the php bugs and people have
On 11/11/2005, at 1:21 PM, Curt Zirzow wrote:
Of course i dont get what your trying to do, the rewriterule
doesn't match your description of what you said.
Ok i am vague at most times, i wasnt going to give an exact example as
it will give away some of the systems secret and not so good
On Fri, Nov 11, 2005 at 01:27:32PM +1100, Dan Rossi wrote:
On 11/11/2005, at 1:21 PM, Curt Zirzow wrote:
Of course i dont get what your trying to do, the rewriterule
doesn't match your description of what you said.
Ok i am vague at most times, i wasnt going to give an exact example
On Thu, Nov 10, 2005 at 03:36:07PM +1100, Dan Rossi wrote:
Hi there, ive been having issues with mod_rewrite and apache2 with PHP
5.1RC1. I have googled the php bugs and people have been experiencing
the same issue however the php people cant see to reproduce the bug.
Its most definately
On 10/11/2005, at 4:18 PM, Curt Zirzow wrote:
On Thu, Nov 10, 2005 at 03:36:07PM +1100, Dan Rossi wrote:
Hi there, ive been having issues with mod_rewrite and apache2 with PHP
5.1RC1. I have googled the php bugs and people have been experiencing
the same issue however the php people cant see
Ospinto mailto:[EMAIL PROTECTED]
on Tuesday, April 12, 2005 10:32 AM said:
I used mod_rewrite to change http://www.mysite.com/page/1 to
http://www.mysite.com/page.php?id=1 to enable a search friendly url.
Ok I'm with you.
Everything works fine, except that when I try to get the URL
* Chris W. Parker [EMAIL PROTECTED]:
Ospinto mailto:[EMAIL PROTECTED]
on Tuesday, April 12, 2005 10:32 AM said:
I used mod_rewrite to change http://www.mysite.com/page/1 to
http://www.mysite.com/page.php?id=1 to enable a search friendly url.
Ok I'm with you.
Everything works fine,
On 4/12/05, Amir Mohammad Saied [EMAIL PROTECTED] wrote:
I want to use mod_rewrite patterns, but i have not access to the
httpd.conf so i think i should use .htaccess, but the patterns don't
work properly there, have my admin should set any settings in the
httpd.conf?
AllowOverrides must be
Matthew Weier O'Phinney mailto:[EMAIL PROTECTED]
on Tuesday, April 12, 2005 9:42 AM said:
When using mod_rewrite, if the rewrite rule does not include a
pass-through, then the query string is not passed on to the script in
question. So, if you request the page directly with:
Pete,
There was a thread some time ago on the issue of cloaking URLs in which a couple of
contributors pointed to tutorials on the following site:
http://www.alistapart.com/articles/urls/
HTH,
Michael Egan
-Original Message-
From: pete M [mailto:[EMAIL PROTECTED]
Sent: 01 July 2004
Hi Pete,
Check out the documentation on the Apache site:
http://httpd.apache.org/docs-2.1/mod/mod_rewrite.html
They also have a URL Rewriting Guide:
http://httpd.apache.org/docs-2.1/misc/rewriteguide.html
Hope this helps.
Regards,
David
-Original Message-
From: pete M
This isn't exactly a PHP issue, but they seem to go rather hand in
hand...
Right now I'm just running my own apache server on my computer and I'm
trying to protect my scripts using mod_rewrite. I uncommented all the
mod_rewrite lines in the apache configuration file and restarted it all. I
On Sat, 7 Jun 2003, Tularis wrote:
I was wondering where I could get the rewrite urls for the rewriting of
urls like here on php.net.
- Tularis
P.S. I don't think they're in the phpweb on CVS, I checked that already
What you see in phpweb is what you get, there is no
mod_rewrite, just a
Subdomains are first a DNS issue... The first place you have to go is
your DNS config, since users.body-builders.org wouldn't exist without an
A or CNAME record.
I don't know if mod_rewrite can do anything about the subdomains like
that, if it can't, you will have to add VirtualHost directives
Subdomains are first a DNS issue... The first place you have to go is
your DNS config, since users.body-builders.org wouldn't exist without
an A or CNAME record.
My subdomains do not have DNSs =(( and I'm not sure if I can
change this issue with .htaccess
I don't know if mod_rewrite can
: Sunday, September 09, 2001 2:43 PM
To: Matthew Loff
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] mod_rewrite
Subdomains are first a DNS issue... The first place you have to go is
your DNS config, since users.body-builders.org wouldn't exist without
an A or CNAME record.
My subdomains do
[mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 09, 2001 1:38 PM
To: [EMAIL PROTECTED]; 'Matthew Loff'
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] mod_rewrite
How about http://wasarrested.com? IO don't know how they do it, but you
can enter whatever subdomain you want and it reflecst
This works perfectly, however what I really need to do is to make it work
not only with /index.html but with everything typed in your browser...
(index.html was only a test to let me know I am in a right direction)
I tried:
RewriteRule ^(.*) /start.php?go=$1
RewriteRule ^(.*)$
50 matches
Mail list logo