Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

http://projects.codemelody.com/OGS/themes/default/js/pdf.js/src/worker.js

This is my subdomain that points to a VPS that I own. If you follow the above link the webserver will say that it can't find that file. However, if you replace "projects.codemelody.com" with the ip address of the VPS it loads fine. And even if you just simply look at the /src/ folder using the subdomain you can see that all the files are in the directory.

Direct link via IP:
http://198.98.121.195/OGS/themes/default/js/pdf.js/src/worker.js

Files in src folder via Subdomain: http://projects.codemelody.com/OGS/themes/default/js/pdf.js/src/

Does anyone know what would cause this?

share|improve this question
    
I've found an answer to my own question. In the original folder the name of the folder was "pdf.js" the period in the directory name causes Apache to not serve files that were under it. When I made a copy of "pdf.js" to a new folder "pdfjs" all files under pdfjs loaded correctly. –  Ethan Jun 20 '13 at 19:42
    
You should post your answer below. Self-answering is encouraged here. –  Karan Jun 20 '13 at 22:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.