LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-06-2008, 03:35 PM   #1
BartVG
LQ Newbie
 
Registered: Sep 2007
Location: Gent, Belgium
Distribution: Slackware
Posts: 14

Rep: Reputation: 0
file not found if file is nested deeper


Something strange is going on with my website. Starting from a certain point in the directory tree, files are not found.
It is possible to view http://www.vangheluwe.org/sites/all/themes/test.txt: you can see the contents. On the other hand, trying to view http://www.vangheluwe.org/sites/all/themes/zen/test.txt doesn't work, although both files have the same permissions, the directories have the same permissions too and the directories and files are owned by the same user.

As a result, the theme of my drupal site is not displayed correctly (i.e. no styles applied because it can't view files in the theme directory).

Does someone have any clue about this?

Using Apache 2
 
Old 07-06-2008, 04:46 PM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
Any apache mod_rewriting ? Any apache directory aliases ?
 
Old 07-09-2008, 01:08 PM   #3
BartVG
LQ Newbie
 
Registered: Sep 2007
Location: Gent, Belgium
Distribution: Slackware
Posts: 14

Original Poster
Rep: Reputation: 0
Mod-rewrite is on (Drupal), but why then does it show the one file but not the other (in the deeper directory)?
 
Old 07-09-2008, 01:17 PM   #4
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
You don't really think anyone can help you debug with insufficient data do you? Many will jump in and throw out loads of guesses. Seems counter-productive to me.

You need to give log messages, and where relevant, show your configuration and settings for the problematic areas.
 
Old 07-09-2008, 02:17 PM   #5
BartVG
LQ Newbie
 
Registered: Sep 2007
Location: Gent, Belgium
Distribution: Slackware
Posts: 14

Original Poster
Rep: Reputation: 0
Then ask for those specific settings for the "problematic areas".
I described the problem to my best knowledge. I'm so clueless about it that I don't know what more information I can give. It just seems so strange that a text file in one directory can be viewed, but a text file in another directory (subdir of the first one) can not.
 
Old 07-09-2008, 02:23 PM   #6
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
Quote:
Originally Posted by BartVG View Post
Then ask for those specific settings for the "problematic areas".
You've got it backwards bub. Its your job to work to get the relevant info, not mine to play a guessing game. If you can't take the time to do a little research, and figure out how your system is configured, its gonna be tough.

http://www.catb.org/~esr/faqs/smart-...html#beprecise
http://www.catb.org/~esr/faqs/smart-....html#symptoms

And by the way, I gave you suggestions: "You need to give log messages, and where relevant, show your configuration and settings for the problematic areas."

I see no settings, log messages, or anything but your interpretation. Can't help without data.

Good luck.
 
Old 07-09-2008, 02:44 PM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
If it's a Drupal theme issue, have you consulted the documentation ?

http://drupal.org/handbooks

or at the very least, how about a directory listing showing the files and permissions ?

Or using my awesome psychic powers I could divine that the directory name is NOT zen but is Zen in which case the page loads fine.. Linux and Apache are CaSe SeNsItIvE when it comes to file and folder names.

http://www.vangheluwe.org/sites/all/themes/Zen/test.txt

Last edited by farslayer; 07-09-2008 at 02:48 PM.
 
Old 07-10-2008, 12:21 PM   #8
BartVG
LQ Newbie
 
Registered: Sep 2007
Location: Gent, Belgium
Distribution: Slackware
Posts: 14

Original Poster
Rep: Reputation: 0
problem solved!

due to some weird internal Drupal stuff, the Zen theme won't show (if you're viewing on a remote server) if the directory where the theme files are located is simply called 'zen'. You should rename it to 'zen[insert whatever you want here]'

Thanks to the excellent podcast by Elliot Rothman from Drupal Schools
http://theartlab.net/drupal-school-themeing-zen
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to do recursive file delete using specifier (*.tmp) from nested directories? Arodef Linux - General 3 11-11-2009 07:49 AM
how to execute a script file? Have file/directory not found error sirius57 Linux - Software 2 11-21-2007 11:43 PM
file not found by glob? - file exists? rgdatit Linux - Newbie 2 07-29-2005 02:16 AM
snmpd installed, see file, but get error file not found PCHelper Slackware 0 11-06-2003 12:44 PM
How to play a media file/ video file/mp3 file recorded in harddisk/cd-rom arindam Linux - Newbie 2 09-05-2003 10:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration