Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#129659 can upload web files with sftp, but get 404

closed
5
2008-10-03
2008-09-22
Matthew Gates
No

Following the changes to the upload procedure, detailed in

For example, I connected to web.sourceforge.net with the id: "matthewg42,stellarium" and using my regular sf password. This works fine. I use sftp to put a new file in the htdocs directory, which seemed to go fine:

$ sftp matthewg42,stellarium@web.sourceforge.net
Connecting to web.sourceforge.net...
matthewg42,stellarium@web.sourceforge.net's password:
sftp> cd htdocs
sftp> put indexnew.php
Uploading indexnew.php to /home/groups/s/st/stellarium/htdocs/indexnew.php
indexnew.php 100% 9007 8.8KB/s 00:01
sftp> chmod 664 indexnew.php
Changing mode on /home/groups/s/st/stellarium/htdocs/indexnew.php
sftp> ls -l indexnew.php
-rw-rw-r-- 0 215006 49857 9007 Sep 22 18:59 indexnew.php
sftp> bye

The problem comes when I try to access the file via the web site. It is as if it is not there. I get a 404 page (see below).

Any ideas what might be causing this? Is my DNS not set up right, or is there some sort of caching proxy which is not picking up the new file?

An error has been encountered in accessing this page.

1. Server: stellarium.org
2. URL path: /indexnew.php
3. Error notes: File does not exist: /home/groups/s/st/stellarium/htdocs/indexnew.php
4. Error type: 404
5. Request method: GET
6. Request query string:
7. Time: 2008-09-22 11:01:40 PDT (1222106500)

Reporting this problem: The problem you have encountered is with a project web site hosted by SourceForge.net. This issue should be reported to the SourceForge.net-hosted project (not to SourceForge.net).

If this is a severe or recurring/persistent problem, please do one of the following, and provide the error text (numbered 1 through 7, above):

1. Contact the project via their designated support resources.
2. Contact the project administrators of this project via email (see the upper right-hand corner of the Project Summary page for their usernames) at user-name@users.sourceforge.net

If you are a member of the project that maintains this web content, please refer to the Site Documentation regarding the project web service for further assistance.

Discussion

    • milestone: --> Second Level Support
    • assigned_to: nobody --> sog
     
  • My view of your site

     
    Attachments
  • Matthew Gates
    Matthew Gates
    2008-09-22

    Ah, of course - I should have check that. Feel silly now. Looks like it's a DNS thing then. Cheers.

     
  • Jacob Moorman
    Jacob Moorman
    2008-10-03

    • status: open --> closed