Webmastersite.net
Register Log In

Trying to open a programme in a folder..
"The requested page does not exist"

Comments on Trying to open a programme in a folder..

webflair
Forum Regular

Usergroup: Customer
Joined: Nov 27, 2006

Total Topics: 187
Total Comments: 465
Posted Dec 06, 2006 - 7:44 AM:

Hello

Quick question...

WSN Links is installed in my root directory. I have installed AWstats in a directory named /stats/

I need to open www.jayweddings.co.uk/stats/ but when i try, WSN links get involved and says "The requested page does not exist"

I can open www.jayweddings.co.uk/stats/awstats.pl but if i do that AWstats does not update from the log file. It has to be called at www.jayweddings.co.uk/stats/

How can i stop WSN links getting involved? I have looked at the HTaccess file to see if there is a rule asking 404s to be redirected but can't see anything.
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 06, 2006 - 1:58 PM:

URL rewriting makes everything below WSN Links be a category name unless an exception is specified. You need to add

RewriteRule ^stats/$ stats/index.something

where something is whatever file extension the proper index page for awstats is.
webflair
Forum Regular

Usergroup: Customer
Joined: Nov 27, 2006

Total Topics: 187
Total Comments: 465
Posted Dec 06, 2006 - 7:36 PM:

No, it doesn't seem to work. Just still get the "The requested page does not exist" page.
webflair
Forum Regular

Usergroup: Customer
Joined: Nov 27, 2006

Total Topics: 187
Total Comments: 465
Posted Dec 06, 2006 - 7:37 PM:

Used RewriteRule ^stats/$ stats/awstats.pl Didnt work

Used RewriteRule ^stats/$ stats/ Didnt work.

There is no index.? file
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 07, 2006 - 1:51 PM:

If there were no index file in a folder, surely the folder couldn't be viewed.

If you're editing manually you should put the rule next to the admin directory's rules:
RewriteRule ^admin$ admin/index.php
RewriteRule ^admin/$ admin/index.php

Does the admin panel's option to type in extra rules not work? Maybe it inserts in the wrong place.
webflair
Forum Regular

Usergroup: Customer
Joined: Nov 27, 2006

Total Topics: 187
Total Comments: 465
Posted Dec 07, 2006 - 5:15 PM:

Got it, i was being stupid. It was index.cgi I needed. Doh!
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



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