[HELP] Some subfolders under Qweb not accessible

Post your questions about Web Server usage and Apache + PHP + MySQL/SQLite web applications.
Post Reply
faceplant
Starting out
Posts: 14
Joined: Tue Jun 17, 2008 2:33 pm

[HELP] Some subfolders under Qweb not accessible

Post by faceplant »

Hi,

First off, I am completely new to using my NAS to display my webpage, so go easy on me. :wink:
I have tried to search the forum, but not been able to find my problem, nor the solution.

This is what I have done:
1. Set up an account at dyndns.org making sure that my public non-static ipadress of the NAS is synchronized.
2. Set my router to redirect port 80 to my Qweb share.
3. Put some files and subfolders under Qweb.

This works:
1. I can access the root of Qweb share using "XXXXX.dyndns.org" or "XXXXX.dyndns.org/index.html".
2. I can also access a subfolder using "XXXXX.dyndns.org/Subfolder1/" or "XXXXX.dyndns.org/Subfolder1/index.html".

This does not work:
I have another subfolder under the Qweb share, but when I try to access the "index.html" using "XXXXX.dyndns.org/Subfolder2/" or
"XXXXX.dyndns.org/Subfolder2/index.html", I get redirected to the root (the Qweb share).
However I can access any subfolder content under the "XXXXX.dyndns.org/Subfolder2/", for example "XXXX.dyndns.org/Subfolder2/main/main.html".
In fact I found out that I can access all subfolder content except "index.html" under "XXXXX.dyndns.org/Subfolder2/".

Does anyone have any ideas?

Thanks!
/Johan
QNAP TS-109 Pro II
jm45
Easy as a breeze
Posts: 411
Joined: Tue Oct 07, 2008 6:30 pm

Re: [HELP] Some subfolders under Qweb not accessible

Post by jm45 »

Hi,
Did you double-check the html code inside your subfolder2/index.html ?
wrong href ?
TS-109 II firmware version: 3.1.0 Build 0708T (1TB disk)
faceplant
Starting out
Posts: 14
Joined: Tue Jun 17, 2008 2:33 pm

Re: [HELP] Some subfolders under Qweb not accessible

Post by faceplant »

jm45 wrote:Hi,
Did you double-check the html code inside your subfolder2/index.html ?
wrong href ?
I thought I had, but there was a JavaScript error lurking.
Everything works now!
Thanks for putting me on the path.
QNAP TS-109 Pro II
Post Reply

Return to “Web Server & Applications (Apache + PHP + MySQL / SQLite)”