Help Desk Software & Beyond
May 23, 2012, 06:08:22 AM *
Welcome, Guest. Please login or register.
To post messages you need to register. We apologize for inconvenience, but this is to prevent spam.
Registration is instant (no email verification) and we do not ask for any personal information.

Login with username, password and session length
News: Welcome to Help Desk Software forum!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Forbidden error for ttx.cgi returned when trying to view second page of tickets.  (Read 3795 times)
1uptech
Newbie
*

Karma: 0
Posts: 5


View Profile
« on: October 07, 2008, 05:47:16 PM »

Hi to all.

I have been searching these forums and other areas for hours now and I'm exhausted. I have been using TTX for well over a year now and have never battled a problem I couldn't overcome. I use the flat-file setup and TTX version 2.24.430. It all started in September when all of the sudden I couldn't view tickets past the first page and attempting to do so would yield 403 Forbidden claiming I didn't have permissions to access /ttx.cgi. I checked to make sure my ticket files were present and accessible, my username still had the appropriate rights and my scripting directory and associated files still had the necessary attributes. I am able to login to view, submit, modify, and so forth but if I try to view pages beyond the first page or try to search for a specific ticket number I get "Forbidden You don't have permission to access /scripts/ttx.cgi on this server". I have copied the contents of this directory to provided cgi-bin, updated my paths, but still receive the same error.

Any and all help is much appreciated. I'm at my whits end.

Thanks in advance.


« Last Edit: October 09, 2008, 11:48:11 AM by Sparky » Logged
Sparky
Moderator
Hero Member
*****

Karma: 83
Posts: 2,228


stop pushing all those buttons


View Profile
« Reply #1 on: October 07, 2008, 06:12:39 PM »

403 errors are generated by the server itself.

You didn't mention what server OS you have.
Logged

Did you update the paths in ttxcfg.cgi after moving TTX to your new location?   Undecided
To those seeking help.... please report back when you figure it out.  Cheesy
1uptech
Newbie
*

Karma: 0
Posts: 5


View Profile
« Reply #2 on: October 08, 2008, 09:58:52 AM »

Platform
Type    Debian
MySQL Version    5.0.45
Perl    5.8.8
PHP    4.4.7
Sendmail    /usr/sbin/sendmail
Perl Path    /usr/bin/perl
PHP Path    /usr/local/bin/php
Logged
Sparky
Moderator
Hero Member
*****

Karma: 83
Posts: 2,228


stop pushing all those buttons


View Profile
« Reply #3 on: October 08, 2008, 10:41:18 AM »

Make sure the directory containing ttx.cgi is set to 755
Logged

Did you update the paths in ttxcfg.cgi after moving TTX to your new location?   Undecided
To those seeking help.... please report back when you figure it out.  Cheesy
Alex
Administrator
Hero Member
*****

Karma: 22
Posts: 605



View Profile WWW
« Reply #4 on: October 08, 2008, 10:50:36 AM »

Almost for sure your web server includes some kind of safety module to protect your system against XSS, SQL injection etc. The developers of such modules keep surprising me, as the threat detection schemes are pretty naive. For example, one of such "protection" modules blocks scripts (and, yes, produces the 403 response) every time it detects word 'update' among CGI arguments. The Trouble Ticket Express may use the word 'updated' among CGI inputs (when tickets are sorted by update date) and thus constantly triggers the "protection". I would suggest checking your web server configuration and removing faulty modules.

Logged

Follow me on: LinkedIn
1uptech
Newbie
*

Karma: 0
Posts: 5


View Profile
« Reply #5 on: October 08, 2008, 01:01:44 PM »

I went ahead and verified the file permissions once again. This directory, subdirectory, and subsequent files are all set at 755. Interestingly enough, I login and retrieve the first page of tickets and everything seems fine. I can sort the tickets by any method except the column that says updated. I get the 403 response.

Here's the next issue. I have to deal with my host regarding this issue and I'm not quite sure how helpful they will be. I have a list of currently installed Pearl and Pear modules. Is there something specific I should look for that I can point out to their tech support? I can post the information here but I don't want to clog up this post with useless lists. Would posting either of these lists be beneficial in assisting me?
Logged
Alex
Administrator
Hero Member
*****

Karma: 22
Posts: 605



View Profile WWW
« Reply #6 on: October 08, 2008, 01:40:24 PM »

re. can sort the tickets by any method except the column that says updated

Right on target. Ask your provider to disable "safety" module. It is neither Perl or Pear library. It is Apache module. How to verify:

1) access your home page (assuming it is static html page)
2) add to its URL (type into browser address string) this: ?update
3) hit Enter key

Example:

home page: www.mysite.com/index.html
test: www.mysite.com/index.html?update

Accessing the second page should trigger the 403 error.

Logged

Follow me on: LinkedIn
1uptech
Newbie
*

Karma: 0
Posts: 5


View Profile
« Reply #7 on: October 08, 2008, 01:54:46 PM »

Unfortunately your suggestion didn't produce the desired results. Adding the ?update and hitting enter simply reloaded the page with out modifying the address in the address bar. So I still got to my index page normally and the address bar still showed mysite.com/index.html?update. Just to check, I tried your suggestion on my ttx folder and ttx.cgi and it processed normally as well.
Logged
Alex
Administrator
Hero Member
*****

Karma: 22
Posts: 605



View Profile WWW
« Reply #8 on: October 08, 2008, 02:07:56 PM »

That means the module reacts on different combination of words. This is obviously your web server configuration issue. While server configuration and maintenance services are not covered by free Trouble Ticket Express support, your may request the service by submitting a ticket to our help desk.

Logged

Follow me on: LinkedIn
Sparky
Moderator
Hero Member
*****

Karma: 83
Posts: 2,228


stop pushing all those buttons


View Profile
« Reply #9 on: October 08, 2008, 02:14:25 PM »

Is there something specific I should look for that I can point out to their tech support?

The 403 error itself should be enough.  You have a properly installed and configured script with correct permissions.
Logged

Did you update the paths in ttxcfg.cgi after moving TTX to your new location?   Undecided
To those seeking help.... please report back when you figure it out.  Cheesy
1uptech
Newbie
*

Karma: 0
Posts: 5


View Profile
« Reply #10 on: October 09, 2008, 12:29:57 PM »

I just wanted to let everyone know that I went to my host with the information Alex provided about the Apache security module and with out them saying they modified anything it magically started working.

Thanks for all your help.
Logged
Sparky
Moderator
Hero Member
*****

Karma: 83
Posts: 2,228


stop pushing all those buttons


View Profile
« Reply #11 on: October 09, 2008, 12:36:26 PM »

....and with out them saying they modified anything it magically started working.

Hosting companies can be funny that way.   Cheesy

If anybody wants a good recommendation of the really reliable and affordable Apache based hosting company I've been working with for the last ten years, just PM me.   Wink
Logged

Did you update the paths in ttxcfg.cgi after moving TTX to your new location?   Undecided
To those seeking help.... please report back when you figure it out.  Cheesy
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1 RC3 | SMF © 2001-2006, Lewis Media Valid XHTML 1.0! Valid CSS!
Page created in 0.029 seconds with 18 queries.