Re: Checking if file or directory exist

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Sep 10, 2008, at 1:24 PM, Eric Covener wrote:

. I have some links that look like this: HTTP://purl.schreurprinting.com/mail.php?purl=jasonpruim112
...
[purl.schreurprinting.com/sid#183ecd8][rid#1836238/initial] (2) init rewrite
engine with requested uri /purl/mail.php

Maybe mail.php is under your docroot, but purl/mail.php isn't.

Actually it is... It was something that I tried to fix the problem. All the links refer to /mail.php though...

BEGIN LOG
192.168.0.253 - - [10/Sep/2008:13:28:26 -0400] [purl.schreurprinting.com/sid#183ecd8][rid#1836238/initial] (2) init rewrite engine with requested uri /mail.php 192.168.0.253 - - [10/Sep/2008:13:28:26 -0400] [purl.schreurprinting.com/sid#183ecd8][rid#1836238/initial] (3) applying pattern '.' to uri '/mail.php' 192.168.0.253 - - [10/Sep/2008:13:28:26 -0400] [purl.schreurprinting.com/sid#183ecd8][rid#1836238/initial] (4) RewriteCond: input='/mail.php' pattern='!-f' => matched 192.168.0.253 - - [10/Sep/2008:13:28:26 -0400] [purl.schreurprinting.com/sid#183ecd8][rid#1836238/initial] (4) RewriteCond: input='/mail.php' pattern='!-d' => matched 192.168.0.253 - - [10/Sep/2008:13:28:26 -0400] [purl.schreurprinting.com/sid#183ecd8][rid#1836238/initial] (2) rewrite /mail.php -> /p.php 192.168.0.253 - - [10/Sep/2008:13:28:26 -0400] [purl.schreurprinting.com/sid#183ecd8][rid#1836238/initial] (2) local path result: /p.php 192.168.0.253 - - [10/Sep/2008:13:28:26 -0400] [purl.schreurprinting.com/sid#183ecd8][rid#1836238/initial] (2) prefixed with document_root to /Volumes/RAIDer/webserver/ purl.schreurprinting.com/p.php

Also here is my directory structure...

qs:/etc/httpd/sites japruim$ ls /volumes/raider/webserver/ purl.schreurprinting.com
build <----Folder
design.php
inc
index.php
mail.php
p.php
php.ini.php
pictures
print.php
purl <----Folder
purl.php
purl.schreurprinting.com.xcodeproj <----Folder
purlprocess.php
qs:/etc/httpd/sites japruim$



--
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



--

Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
11287 James St
Holland, MI 49424
www.raoset.com
japruim@xxxxxxxxxx





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux