Webmastersite.net
Register Log In

mod_rewrite apache error_log full

Comments on mod_rewrite apache error_log full

rolij
Member

Usergroup: Customer
Joined: May 19, 2005

Total Topics: 18
Total Comments: 42
rolij
Posted Jun 12, 2006 - 2:37 AM:

I guess there's a problem (bug) with the mod_rewrite, but I'm not sure therefore I post it here.

I use mod_rewrite and category names in URL. It works perfect, but if I call a subdirectory like http://www.mydomain.com/category/subcategory I get a "File does not exist: /path/to/my/wsnlinks/category, referer: http://and so on... entry in the apache error_log file. So obviously it works but it produces an error entry. raised eyebrow Why is this? Can anybody reproduce this?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jun 12, 2006 - 12:20 PM:

scripts.webmastersite.net/w...nks/wsnmanual/articles/213
rolij
Member

Usergroup: Customer
Joined: May 19, 2005

Total Topics: 18
Total Comments: 42
rolij
Posted Jun 13, 2006 - 12:52 AM:

I already use the trailing slash (it doesn't work without it).

But it has nothing to do with my problem. The site works without a problem, but it generates megabytes of error_log entries. Any idea?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jun 15, 2006 - 6:16 AM:

You're not reading the entry at all. Please take a minute to read it. The point of the entry is that when you have to use a trailing slash that means your site is broken because you don't have a rewrite_base. Apparently you choose to call this broken state "without a problem" and then at the same time observe one of the problems.
rolij
Member

Usergroup: Customer
Joined: May 19, 2005

Total Topics: 18
Total Comments: 42
rolij
Posted Jun 15, 2006 - 7:31 AM:

I'm sorry Paul, I have to correct myself. The trailing slash was used in a previous test installation. I just removed it, so I do not use and I do not need to use a rewrite base in .htaccess. WNS Links is installed in the root directory and I still get an error entry for every subcategory. Only for subcategories, not for maincategories. Now it has nothing to do with rewrite base or trailing slash.

Or do I still misunderstand you?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jun 17, 2006 - 5:17 PM:

so I do not use and I do not need to use a rewrite base in .htaccess

If you select to run your site in a broken way, I will not support it.
rolij
Member

Usergroup: Customer
Joined: May 19, 2005

Total Topics: 18
Total Comments: 42
rolij
Posted Jun 18, 2006 - 12:36 AM:

We're not talking about the same thing.

Again, it doesn't make a difference if I set a rewrite base or not. And I don't need to use a trailing slash. So my site isn't broken, is it?

In every case I get error_log entries for every subcategory. In my opinion there's something wrong with the rewrite rule. Why does it work for maincategories and it doesn't work for subcategories?

Am I really the only one with a full error_log file? I can't believe it!
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jun 20, 2006 - 9:39 AM:

A site that can't load pages in a particular way is the definition of broken, search engines and random users will access occasionally in the manner in which it doesn't work, which will create an error log.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.