PDA

View Full Version : how to access to personal web pages that uploaded in a ftp account?


freesqrt
8th June 2008, 17:31
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,

falko
9th June 2008, 13:19
Take a look at chapter 2.2.9 on http://ispconfig.org/downloads/manual_en/manual_kunde_en_src.htm

If it still doesn't work, are there any errors in Apache's error log? Which distribution are you using?

freesqrt
10th June 2008, 13:23
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?

falko
11th June 2008, 13:51
At the end of your Apache configuration you should see something like this:

<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

<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>and restart Apache.

freesqrt
15th June 2008, 07:57
It works!!!!!!!:D;)

Thank you very much Falko,

schmidtedv
30th July 2008, 09:35
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?

falko
31st July 2008, 19:04
I haven't tried this, but possibly you get a syntax error if you disable mod_autoindex.

schmidtedv
31st July 2008, 20:00
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?)

falko
1st August 2008, 14:48
so -indexes is implementing ispconfigs own function to disable autoindex for apache/web-dirs?No, that's standard Apache syntax, nothing ISPConfig-specific.

schmidtedv
1st August 2008, 15:19
ok, thx...well after postfix apache2 will be my next lecture... :-)