Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Apache2 on LAMP Server Problem
#1
Hi, my greetings to all the member.

I'm just starting to learn how to use a LAMP using Ubuntu Server 9.10 running on a virtual machine. I was able to make it run with common functionality to mimic the actual web host but I was stuck into its strange behavior of handling path which prevents me from making full advantage of its mod_rewrite module.

The scenario:
I wanted to make a search engine friendly urls for my site links so that the path "http://mysite.com/products.php?category=pc&id=20" will be shorten to "http://mysite.com/products/pc/20".

The problem:
Whenever I go to the path "http://mysite.com/products" the server always assumes it as "http://mysite.com/products.php" or "http://mysite.com/products.html" or whatever file in the directory with the name "products" is available and displays its contents to the browser. It's still happening even if the mod_rewrite is turned off. This prevents me from using the path "http://mysite.com/products" as one the rewrite rules because it's always interpreted as a reference to the file.

My question
Where can I find the configuration to disable this behavior? Since I've been looking for every line in inside the apache2.conf file for something to change but I can't seem to find anything that has something to do with the problem.

I hope anybody here who is more experienced can help me with this matter.
Reply


Messages In This Thread
Apache2 on LAMP Server Problem - by blackstrider - 02-12-2010, 12:13 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Setting up a LAMP....Ehh...FAMP server in FreeBSD. manipulate 0 2,473 10-21-2009, 07:46 AM
Last Post: manipulate

Forum Jump:


Users browsing this thread: 1 Guest(s)