
4th August 2009, 14:46
|
|
Member
|
|
Join Date: Jun 2009
Posts: 56
Thanks: 8
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by till
And you have tested this exact .htaccess file on another server without doing any modifications in it and you do not receibve any error messages in the error log anymore?
|
I have tested this exact .htaccess file on another server without any modifications and I don't recieve any error...
When i copy content of .htaccess file to Apache directives it still doesn't works.
|

6th August 2009, 21:51
|
|
Senior Member
|
|
Join Date: Jul 2009
Posts: 120
Thanks: 5
Thanked 1 Time in 1 Post
|
|
Quote:
Originally Posted by Skprorok
I have tested this exact .htaccess file on another server without any modifications and I don't recieve any error...
When i copy content of .htaccess file to Apache directives it still doesn't works.
|
I am having the same problem. I used a working .htaccess file from a working site and I am trying to duplicate the site on my new server. If I delete it I can see the site, but then I guess mod_rewrite stops working in that folder.
|

6th August 2009, 21:54
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,182 Times in 3,201 Posts
|
|
If you dont use the eaxct same application then you dont have the same eror! Without writing exact error descriptions, nobody is able to help you.
If something dont work in a website, look into the error log of the website.
|

6th August 2009, 22:06
|
|
Senior Member
|
|
Join Date: Jul 2009
Posts: 120
Thanks: 5
Thanked 1 Time in 1 Post
|
|
Quote:
Originally Posted by till
If you dont use the eaxct same application then you dont have the same eror! Without writing exact error descriptions, nobody is able to help you.
If something dont work in a website, look into the error log of the website.
|
I know I don't have the same app, but .php is not working correctly for me.
my error with .htaccess:
Code:
[Thu Aug 06 15:50:21 2009] [alert] [client 66.42.xxx.xxx] /var/www/clients/client4/web6/web/calls/.htaccess: Options not allowed here
without the .htaccess
Code:
[Thu Aug 06 16:04:48 2009] [error] [client 66.42.xxx.xxx] File does not exist: /var/www/clients/client4/web6/web/calls/admin-add-user, referer: http://www.mysite.net/calls/admin.php
|

6th August 2009, 22:08
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,182 Times in 3,201 Posts
|
|
Ok, then move the "Options ...." lines from the .htaccess file to the apache directives field of the website. And plese dont post to other threads, make your own thraed for your own problem.
|

6th August 2009, 22:11
|
|
Senior Member
|
|
Join Date: Jul 2009
Posts: 120
Thanks: 5
Thanked 1 Time in 1 Post
|
|
Quote:
Originally Posted by till
Ok, then move the "Options ...." lines from the .htaccess file to the apache directives field of the website. And plese dont post to other threads, make your own thraed for your own problem.
|
I don't know what "apache directives" are. I just wanted to subscribe to this thread to see if he ever found a solution. I do have another thread and you were helping over there. Thanks
|

7th August 2009, 00:01
|
|
Member
|
|
Join Date: Jun 2009
Posts: 56
Thanks: 8
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by till
Ok, then move the "Options ...." lines from the .htaccess file to the apache directives field of the website. And plese dont post to other threads, make your own thraed for your own problem.
|
I tried to copy content of .htaccess file to Apache directives, but it still doesn't working. And i dont have any errors in error.log.
|

7th August 2009, 09:46
|
|
Member
|
|
Join Date: Jun 2009
Posts: 40
Thanks: 0
Thanked 5 Times in 4 Posts
|
|
ISPConfig has disabled .htaccess per default. You need add this directive to httpd.conf:
Code:
<Directory />
AllowOverride All
</Directory>
And all your .htaccess will star work. BUT Till said me:
Quote:
Setting these things in .htaccess is not allowed for security reasons
as it would allow poaple e.g. to
enable disabled functions too. Instead, just add the line:
php_value memory_limit 128M
in the apache directives field in ispconfig.
|
http://us2.php.net/configuration.changes
http://us2.php.net/manual/en/ini.list.php
Php disable some directives for only setup in php.ini, i think allow .htaccess is not a security reason, ISPConfig has other security problems more importants.
For example 'Magento' need change some php directives in .htaccess, but its disabled, i think is very hard for the user change .htaccess from the control panel every time he need change it, or install new CMS, etc...
|

7th August 2009, 09:52
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,182 Times in 3,201 Posts
|
|
With "Allow override all" you can change also the interpreter for any file ending e.g. .php files, so you can esily come around any restrictions on the system. Enebling the overriding for everything is not recommended on systms that run websites for customers.
|

7th August 2009, 09:55
|
|
Member
|
|
Join Date: Jun 2009
Posts: 40
Thanks: 0
Thanked 5 Times in 4 Posts
|
|
Quote:
Originally Posted by till
With "Allow override all" you can change also the interpreter for any file ending e.g. .php files, so you can esily come around any restrictions on the system. Enebling the overriding for everything is not recommended on systms that run websites for customers.
|
Show me examples, please.
Imagine my server with 50 websites and htaccess with "Allowoverride All"
How to can hack other websites from localhost or to do unstable the server.
|
| 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 18:23.
|
|
Recent comments
18 hours 7 min ago
21 hours 2 min ago
22 hours 16 min ago
23 hours 39 min ago
1 day 1 hour ago
1 day 2 hours ago
1 day 4 hours ago
1 day 19 hours ago
1 day 20 hours ago
2 days 32 min ago