
12th February 2006, 08:50
|
|
Junior Member
|
|
Join Date: Feb 2006
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Ok somehow i managed to get ftp going , i had to create user&email and login was something like web5_username . And had to give him administrator right, than the user could login via ftp and isp ftp panel.
But there is no fancy indexing enabled or in short .htaccess not enable, can anyone tell how to enable .htaccess on server ?
|

12th February 2006, 10:01
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Quote:
|
Originally Posted by hosting
But there is no fancy indexing enabled or in short .htaccess not enable, can anyone tell how to enable .htaccess on server ?
|
.htaccess files are enabled. Just put an .htaccess file in the appropriate directory.
If you need an .htaccess file to password-protect a directory, you can do this in ISPConfig (in Web-FTP -> http://www.ispconfig.org/downloads/m...en_src.htm#4_4 ).
In your /etc/proftpd.conf you should comment out the following lines:
Code:
<Limit SITE_CHMOD>
DenyAll
</Limit>
because otherwise chmods aren't allowed over FTP.
Quote:
|
Ok tried installing using that perfect install , but i didnt install fedora cause i dont want to pay my dc to do reload of os just for a control panel.
|
I thought you were using Fedora... If you are using another distribution like Debian, Ubuntu, SuSE or Mandriva, there are also tutorials about them on HowtoForge. They are under Howtos -> Linux (or use the search function).
|

12th February 2006, 11:05
|
|
Junior Member
|
|
Join Date: Feb 2006
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
No falko the title reads centos 4.2 so i thought it was clear but doesnt matter,
but you didnt understand i want to enable fancy indexing , you know what that are right ? i have this in my .htaccess file :
Code:
<IfModule mod_autoindex.c>
IndexOptions FancyIndexing
</ifModule>
Indexing helps create list of files say if i go to some folder mysite/folder and it has .zip , .rar and other files and no index.php or index.html on it , it should show those files list there , but when i go to such a folder i get this error :
Code:
The following error occurred:
You are not permitted to access the requested URL
Please contact the Webmaster with any queries.
I have edited the file u said and commented it out too.
|

12th February 2006, 11:17
|
|
Junior Member
|
|
Join Date: Feb 2006
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Plus when i create a codomain , shouldnt it make another subfolder like say host.domain.com should make a subfolder called host in the folder web ? Cause that is not created . The user has -1 for number or users and domains allowed.
Even when i create subdomain (no subfolder is created though) and access i again get
Code:
This IP address is shared. For access to the web site which you look for, enter its address instead of its IP.
For questions or problems please contact the server administrator.
Plus why is the system backing up site ?
|

12th February 2006, 12:12
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,184 Times in 3,202 Posts
|
|
Quote:
|
Originally Posted by hosting
Plus when i create a codomain , shouldnt it make another subfolder like say host.domain.com should make a subfolder called host in the folder web ?
|
No. If you want a new folder you will have to create a new website for host.domain.com instead of a new co-domain.
|

12th February 2006, 16:07
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Quote:
|
Originally Posted by hosting
No falko the title reads centos 4.2 so i thought it was clear but doesnt matter,
|
Sorry, I've overseen it, I saw that you use yum in one post so I thought you were using Fedora.
Quote:
|
Originally Posted by hosting
i have this in my .htaccess file :
Code:
<IfModule mod_autoindex.c>
IndexOptions FancyIndexing
</ifModule>
Indexing helps create list of files say if i go to some folder mysite/folder and it has .zip , .rar and other files and no index.php or index.html on it , it should show those files list there , but when i go to such a folder i get this error :
Code:
The following error occurred:
You are not permitted to access the requested URL
Please contact the Webmaster with any queries.
I have edited the file u said and commented it out too.
|
Have a look at this post: http://www.howtoforge.com/forums/sho...0&postcount=66
|

12th February 2006, 20:51
|
|
Junior Member
|
|
Join Date: Feb 2006
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
That didnt work and i dont see any <Directory /srv/www/*/web> line anywhere so i edited <Directory /var/www/*/web> and lines below it to as stated , but still i keep getting 403 forbidden error still on all directories.Even the main web directory.
|

12th February 2006, 21:26
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Quote:
|
Originally Posted by hosting
That didnt work and i dont see any <Directory /srv/www/*/web> line anywhere so i edited <Directory /var/www/*/web> and lines below it to as stated , but still i keep getting 403 forbidden error still on all directories.Even the main web directory.
|
It depends on what you specified as web root during installation if it's /srv/www/*/web or /var/www/*/web.
Did you restart Apache after your changes?
Do you see anything in the Apache error log?
|

13th February 2006, 00:14
|
|
Junior Member
|
|
Join Date: Feb 2006
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Can you tell me where to find the error file , cause i do not have /usr/local/apache i am running centos http with http -k start and only /etc/httpd folder exists and there is no error file there.
|

13th February 2006, 09:55
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
The error log should be in /var/log/httpd or /var/log/apache.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 19:51.
|
Recent comments
1 day 10 hours ago
1 day 19 hours ago
1 day 22 hours ago
1 day 23 hours ago
2 days 1 hour ago
2 days 2 hours ago
2 days 4 hours ago
2 days 5 hours ago
2 days 21 hours ago
2 days 22 hours ago