473,387 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Something strange introduced in 5.2.0

If you have 5.2.0 installed, try this. Create a file called
"TestThing.class.php" in the document root of a host (say the host is
test.thing.net).

Now, if you go to http://test.thing.net/TestThing the code in
TestThing.class.php gets executed. Some kind of URL rewriting is going
on here on PHP's end? I do not have mod_rewrite enabled on this server
- it's installed, but "RewriteEngine On" is never issued. I cannot find
anything in apache2.conf or php.ini that would cause this to occur.

Is there some new thing in PHP5 that does this? This does not happen on
an identical web site (all code the same, same apache version) on a
server running 5.1.2. How would php even get *called* for that Request URI?

Jeremy
Nov 17 '06 #1
1 986
Jeremy wrote:
If you have 5.2.0 installed, try this. Create a file called
"TestThing.class.php" in the document root of a host (say the host is
test.thing.net).

Now, if you go to http://test.thing.net/TestThing the code in
TestThing.class.php gets executed. Some kind of URL rewriting is going
on here on PHP's end? I do not have mod_rewrite enabled on this server
- it's installed, but "RewriteEngine On" is never issued. I cannot find
anything in apache2.conf or php.ini that would cause this to occur.

Is there some new thing in PHP5 that does this? This does not happen on
an identical web site (all code the same, same apache version) on a
server running 5.1.2. How would php even get *called* for that Request
URI?

Jeremy
OK, I figured it out. My other server had the MultiViews option enabled
in Apache.
Nov 17 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Joe Peterson | last post by:
I could not find another example of this via internet searches, so here it is... I am wondering if this is a python bug or otherwise. The first example of this happened in a larger program of...
6
by: Jean-Marc Blaise | last post by:
Hi Folks, I have a SQL proc that does the following below (this is a MDC rollout; I drop indexes because YEAR_NUM which is a dimension, is part of the unique index, and the optimizer decides to...
22
by: MLH | last post by:
I have some audio help files that play fine from within Access 97 and Access 2.0. Both are running on a Windows XP box. But I do not know what program plays the files. If I click Start, Run and...
6
by: Tom | last post by:
I try to write a simple tcp based job queue server. It's purpose is to get commands from a client and store them in a queue (STL). The server has a thread which checks periodically the queue,...
0
by: theintrepidfox | last post by:
Dear Group I came accross a very annoying behaviour of Visual Studio, giving me six hours of headache till I found the solution. This post is mainly for fellow developers for reference as it...
6
by: Peter Oliphant | last post by:
I just discovered that the ImageList class can't be inherited. Why? What could go wrong? I can invision a case where someone would like to add, say, an ID field to an ImageList, possible so that...
19
by: Alan Carpenter | last post by:
Access 8 on Win98 and WinXP I'm having trouble with wildcards in the .Filename property of the FileSearch Object giving different results on win98 and XP. I've been successfully using...
3
by: Beemer Biker | last post by:
I started seeing huge amounts of error messages such as "Validation (XHTML 1.0 Transitional):" Element schema is not supported". There was nothing wrong with that for 3 weeks and suddenly there...
8
by: jstfrths | last post by:
Although most computer programmers are men, the very first programmer was a woman, Lady Augusta Ada Lovelace. Her mechanical computer, called an " analytical machine" was created by Charles Babbage...
46
by: suresh | last post by:
Hi, For this code snippet, I get the following output, which I am unable to understand. (2^31 = 2147483648) cout<< -2147483648 << endl; cout << numeric_limits<int>::min() <<',' <<...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.