By Pushkar Gaikwad on
I have installed 3rd party script in friends folder with index.html file and few other files. Now when I do www.example.com/friends I gets a 404 error as well as for example.com/friends/index.html
The file index.html is there but it seems drupal is creating some problem. I search and found this unanswered question only http://drupal.org/node/80772 with same problem.
What is causing this ? as my other folders with external drupal pages are working fine
Comments
I think this may be what you
I think this may be what you are looking for: http://drupal.org/node/117849
No it is not working !!! I
No it is not working !!!
I am sure that the problem is same but even after editing the .htaccess and adding index.html like this -
it is still not working. WHat else can I do ?
Boat Dealers
Are they index.htm pages? If
Are they index.htm pages? If so, add index.htm.
Otherwise, I don't know what it could be.
They are index.html pages :)
They are index.html pages :)
Any other suggestions...
Boat Dealers
See if this helps:
See if this helps: http://drupal.org/node/30334
Unbelievable, it is still
Unbelievable, it is still not working.
Surprisingly, any .php file is working in that folder but not .html file ? I mean if I keep index.php file, the external file gets opened, but if it is index.html, I get 404 error.
Boat Dealers | Looser Who
Just out of curiousity...
Is your Drupal setup using clean urls?
Another Question
Finding this forum post (http://drupal.org/node/64708) makes me wonder if you have an .htaccess file in your subdirectory requiring basic authentication (?). See jt6919's comment: http://drupal.org/node/64708#comment-122229
Yes, I am using clean
Yes, I am using clean url's
The amazing thing is that only .html are creating problem. I mean if I have external folder with .php file, I am able to open it but if it .html extension like index.html, I get drupal 404 error
Boat Dealers | Looser Who
Antoher idea
Which 3rd Party software did you install?
Is there a setup or installation procedure for that software?
Is it possible, that the index.html file you are trying to open loads or redirects to another page?
Then, it is maybe not the index.html causing the error, but the page to be loaded from that file.
It would be of interest to know, which page was not found.
Try to comment out these lines in .htaccess:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
This should give you the missing filename in the browsers' url field.
Guys, thanks alot for all
Guys, thanks alot for all the help. I had to hire a freelancer to fix it as I had already spent lot's of time on it. Amazingly he fixed it in 30 minutes. He also sent me what he did, which I am trying to understand, In first eye, it looks there was some problem with .htacces as well as my server settings. will post more info later after understanding what exactly he did. For now, everything is great. :-)
Boat Dealers | Looser Who
Glad to hear it's fixed
:)