Icy Phoenix

     
 


Post new topic  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post 015-0019 Bug In Ctraker .htaccess File 
 
This bug is also in the beta!!

Problem description:

When you get to the ctraker logs in ACP, you get a high number of logs entries, but when get to file it appears a white page. If you try to get with the browser to that file, you will find a non-authorizated error message.
 



SOLUTION:


The debug mode of Ctraker isn´t allowed to get to the log file when needed because:

  • Htaccess doesn´t allow that


This is caused because:

in /ctracker/logfiles/.htaccess the text is:

Code: [Download] [Hide] [Select]
<Limit GET POST PUT>
Order Allow,Deny
Deny from All
Allow from localhost 127.0.0.1
</Limit>


So the server thinks the url allowed is "http://localhost%20127.0.0.1" and rest are

This is solved by setting a ',' in this line:

Code: [Download] [Hide] [Select]
Allow from localhost 127.0.0.1


So it results in:

Code: [Download] [Hide]
  1. Allow from localhost, 127.0.0.1 


So it will allow the adresses "localhost" and "127.0.0.1"

Unless you do this, the log will show a lot of entries on the ACP and when get to the file, it won´t show anything, `cause there is nothing written on it.
 



 
Last edited by novice programmer on Tue 16 Oct, 2007 16:35; edited 2 times in total 
novice programmerSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Bug In Ctraker .htaccess File 
 
In that file the text is:

Code: [Download] [Hide] [Select]
<Limit GET POST PUT>
Order Allow,Deny
Deny from All
Allow from localhost, 127.0.0.1
</Limit>


And the file set the secuence:

Code: [Download] [Hide]
  1. Order Allow, Deny 


and it´s rutine is:

First, disallow all
Then, allow localhost

So, it has to be (too):

Code: [Download] [Hide] [Select]
<Limit GET POST PUT>
Order Deny, Allow
Deny from All
Allow from localhost, 127.0.0.1
</Limit>


So you will set the first orders are going to set a deny condition and the second ones are going to set an allow condition.
 



 
novice programmerSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: 015-0019 Bug In Ctraker .htaccess File 
 
Topic locked as bug solution explained.

Topic moved to bugs section and changed topic title properly.
 



 
novice programmerSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: 015-0019 Bug In Ctraker .htaccess File 
 
I have totally recoded this for next version... so htaccess should work fine.

Thanks.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Post new topic  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events