Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a friend working with me preparing some web services in a virtual server of mine, he is in a different time zone, and can't talk to him right now,

i have access to the server, with ssh, sftp

i need to upload a file to the folder where index.html is,

the system is configured with apache for django

I have found different locations with the index.html

including where i looked as a "normal" location?

/var/www/mysite

so , the site works fine, but if i upload a file to the above folder, "uploadedfile.txt" I cannot see the file there, 404

www.mysite/uploadedfile.txt

so , how can i find the folder for the index.html?

thanks!

share|improve this question

closed as not a real question by womble, Scott Pack, voretaq7 Jul 27 '12 at 18:47

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
It'll be wherever you configured it to be when you set the system up. –  womble Jul 9 '12 at 12:03
    
so why the down votes?, shall I know what is the configuration file?, is an obvious thing? –  MaKo Jul 9 '12 at 12:09
    
You shall know what is the configuration file, since you set it up. –  womble Jul 9 '12 at 12:12
add comment

1 Answer 1

up vote 1 down vote accepted

The "normal" location is used mostly by PHP-powered and static websites. Django is a whole different beast. In a typical Django setup any file you upload to the web server will be ignored (i.e. it will not be statically served) no matter where you upload it.

Since you apparently don't understand how Django works, you'd better wait for your friend to come online, before you break anything. If you are interested in learning how Django works, you can read the django tutorial or the django book.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.