Message "Page not found" - Drupal does not permit browsing of directories?

Renato71 - February 13, 2008 - 01:20

Hi,

It looks like the title of my other post is cosidered as anti-Drupal as I got no anwers at all.

Anyway, I want access to subfolders. You know, when I type address into address bar, I want to display the content of that directory. Currently when I do that Drupal displays "Page not found" and I do not want that.

If converting yabb into Drupal forum is not possible at this momment (at least to simple end with no knowledge of DB's user like me), then I need a solution to make current YaBB 2.2 working until such conversion is possible.

Here is the rest:

Long time ago I've setup my web page as regular html. When I added forum later on, I've chosen yabb. Then I've installed Drupal and replaced html pages, but as I had no time to set up Durpal's forum module properly (no time to learn it), I had to leave yabb as default forum. I've updated Drupal regulary up to ver 5.2 (again, I have no time for more customization).

So, now I've transferred my site to new server and www address. There I've installed Drupal 5.7. As I have no time and knowledge as how to convert yabb into Drupal forum, I've installed yabb and uploaded files from old site. As soon as I log out of yabb (to switch from admin to user), Drupal replies with "Page not found".

Currently on the old site I have there are the same version of yabb and Drupal 5.2 and there it is working fine. For both sites I use Golden hour theme.

I though it had something to do with yabb - reinstalled about 20 times in 2 days. Checked everything with server and host provider. Not a problem there.

It is definitely a problem with Drupal because it does not permit me to open that page. I've managed to access yabb forum once when I switched the theme from Golden hour to default Garland. But, when I switched to another (third) theme, I got message "Page not found" again. This time, returning to default theme did not help.

I've compared server data from both servers and they match. Only thing that differs is Drupal version, the OK one is 5.2 and the new ("Page not found" one) is 5.7.

If converting yabb into Drupal forum is not possible at this momment (at least to simple end with no knowledge of DB's user like me), then I need a solution to make current YaBB 2.2 working until such conversion is possible.

Thanks in advance,
Renato

=-=

VM - February 13, 2008 - 01:24

The problem with this post as well as the first one, is you do a great job at talking about the problem, but don't give any information needed to understand where the problem may lie.

what is the folder structure of your installations ?

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

I don't understand the first

Renato71 - February 13, 2008 - 04:04

I don't understand the first part of your comment.

For the second one, the folder structure is the same on the both servers. On one it works with Drupal v5.2, on another one with v5.7 does not work. What kind of specific info do you need? Folder structure of Drupal, server or what? I'm begginer, what excately do you need?

I'm not a wizz with terminology and technology on the subjects of servers and CMS stuff. I've tried to explain the problem in the best way I can. If you do cannot help, do not mock with me.

=-=

VM - February 13, 2008 - 04:47

How to stop Drupal taking over my subdirectories

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

You could ask that in the

Renato71 - February 13, 2008 - 05:13

You could ask that in the first reply.

New web-site:
http://lockonhr.com/
New forum location:
http://lockonhr.com/cgi-bin/yabb2/YaBB.pl

Old web-site:
http://translatorweb.org/
Old forum location:
http://www.translatorweb.org/cgi-bin/yabb2/YaBB.pl

As for question:" How are you accessing the forum through Drupal that drupal would give you an access denied error ?"
I try to acces above links directly and clicking the links on pages.
And I do not know if and why is it blocking. Drupal versions are only thing that is different. Server admins assure me their setting toward Drupal and perl scripts are the same and OK (I've forwarded thier emails to each other). So, I've started my question according to what I know. I did not think that actual links could be relevant or helpful, not after I checked with noth admin and they assure me everything is OK on their end.

In the period that I've started to type this reply I've noted your link.

So, I've changed my .htaccess, where I added to the top of the file:

RewriteEngine on
#
# stuff to let through (ignore)
RewriteCond %{REQUEST_URI} "/cgi-bin/yabb2/"
RewriteRule (.*) $1 [L]
#

I did not work. Will test more.
brb

OK, I've tried everything

Renato71 - February 13, 2008 - 05:57

OK, I've tried everything regarding .htaccess from pages:
http://drupal.org/node/30334 and
http://drupal.org/node/52465#comment-106353

Not working.

Then I decided to experiment a bit. I've isntalled SMF. As soon as install was done - the same message "Page not found"

SMF address:
http://lockonhr.com/forum/index.php

If there is anything I should insert into default .htaccess that comes with Drupal, what excately should I write and where?

Thanks in advance

=-=

VM - February 13, 2008 - 06:00

The only SURE way to diagnose whether the problem is with the new server would be to install Drupal 5.7 on OLD server. If it works there, then the new server is doing something the old server isn't.

The only other way around it would be to install Drupal in a subdirectory and your forum in the root ie: yoursite.com/drupal/
or you can be a bit slicker and use subdomains.
ie: forums.yoursitecom & cms.yoursite.com obviously you would change forums and cms to something you prefer.

good luck

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

OK, will do that. I was

Renato71 - February 13, 2008 - 06:19

OK, will do that.
I was hoping to avoid installing 5.7 on old server in fear this would happen again, and I' very tired of this problem.
I'll start with subdir for Drupal, and the will try subodamains (never worked with later).

Still, I would like to know what is the problem? I've contacted my server admin once again and asked if they could fix it.

Thanks

PS - further ideas are welcommed.

Renato

Works for me

Jeff Burnz - February 13, 2008 - 06:36

I can access this no probs, but not the simple machines forum
http://www.translatorweb.org/cgi-bin/yabb2/YaBB.pl

To quote myself: New

Renato71 - February 13, 2008 - 07:38

To quote myself:

New web-site:
http://lockonhr.com/
New forum location:
http://lockonhr.com/cgi-bin/yabb2/YaBB.pl

Old web-site:
http://translatorweb.org/
Old forum location:
http://www.translatorweb.org/cgi-bin/yabb2/YaBB.pl

Thanks,
Renato

This might be your answer...

Jeff Burnz - February 13, 2008 - 12:57

From what I can tell you should only have to add /cgi-bin/ to your .htaccess, not /cgi-bin/Yabb2/

Take a look here:

http://drupal.org/node/69500

It refers (for you) mainly to this in .htaccess (near the top):

# Protect files and directories from prying eyes.
<FilesMatch "\.(engine|inc|info|install|module|profile|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(code-style\.pl|Entries.*|Repository|Root|Tag|Template)$">
  Order allow,deny
</FilesMatch>

See the .pl - thats making Perl files return an error...

Thanks for your reply. I

Renato71 - February 14, 2008 - 00:42

Thanks for your reply.

I mean time I've decided to take advice about setting up a subdomain and setting the forum there. THat is working now, and I will leave it there.
Thanks for your attention and for the tip.

Renato

 
 

Drupal is a registered trademark of Dries Buytaert.