how to access to personal web pages that uploaded in a ftp account?

Discussion in 'Tips/Tricks/Mods' started by freesqrt, Jun 8, 2008.

  1. freesqrt

    freesqrt New Member

    Hi,

    By using fireFTP, I login to various ftp accounts that has been created in ISPconfig and upload anything I want.
    But how can I access to my personal page by browser?:confused:
    I test "www.mydomain.com/~user1" and "www.mydomain.com/users/user1" but ISPconfig say "403 Error- Forbidden!"
    where is the problem?

    Thanks,
     
  2. falko

    falko Super Moderator ISPConfig Developer

  3. freesqrt

    freesqrt New Member

    Dear Falko,

    I cheched /var/log/httpd/error_log but nothing was there except "[error] an unknown filter was not added: PHP".
    what should be there about this problem?
    I use fedora core 8 (version 2.6.23) with ISPconfig 2.2.23.

    Thank you for your attentions,

    Edit:

    I checked "/home/web2/log/error.log" and found the following error:

    ###################################
    [Wed Jun 11 11:58:17 2008] [error] [client 80.0.0.27] Directory index forbidden by Options directive: /home/web2/user/user1/web/
    ###################################
    permission for "web" folder of user1 is 775.
    permission for its contents (index.html) is 664

    what it meant?
     
    Last edited: Jun 11, 2008
  4. falko

    falko Super Moderator ISPConfig Developer

    At the end of your Apache configuration you should see something like this:

    Code:
    <Directory /home/*/user/*/web>
        Options +Includes -Indexes
        AllowOverride None
        AllowOverride Indexes AuthConfig Limit FileInfo
        Order allow,deny
        Allow from all
        <Files ~ "^\.ht">
        Deny from all
        </Files>
    </Directory>
    Change it to

    Code:
    <Directory /home/*/user/*/web>
        Options +Includes [B][COLOR="Red"]+[/COLOR][/B]Indexes
        AllowOverride None
        AllowOverride Indexes AuthConfig Limit FileInfo
        Order allow,deny
        Allow from all
        <Files ~ "^\.ht">
        Deny from all
        </Files>
    </Directory>
    and restart Apache.
     
  5. freesqrt

    freesqrt New Member

    It works!!!!!!!:D;)

    Thank you very much Falko,
     
  6. schmidtedv

    schmidtedv New Member

    if -indexes is standard here for ispconfig, is it ok to deactivate autoindex_mod for apache because its useless (if i do no changes in config)? Or will -indexes only work if autoindex is active?
     
  7. falko

    falko Super Moderator ISPConfig Developer

    I haven't tried this, but possibly you get a syntax error if you disable mod_autoindex.
     
  8. schmidtedv

    schmidtedv New Member

    so -indexes is implementing ispconfigs own function to disable autoindex for apache/web-dirs? I have tested now with reenabling autoindex and the -indexes does the job...right?

    (would be a nice feature in web-administration to en/disable this for the admin maybe?)
     
  9. falko

    falko Super Moderator ISPConfig Developer

    No, that's standard Apache syntax, nothing ISPConfig-specific.
     
  10. schmidtedv

    schmidtedv New Member

    ok, thx...well after postfix apache2 will be my next lecture... :)
     

Share This Page