Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Senior Member tha_Gsheep's Avatar
    Join Date
    Feb 2003
    Location
    Scotland
    Posts
    188
    Member #
    780
    I have a URL like this: http://123.123.123:8080/

    Whenever navigate to this page it's fine I get the contents displayed acordingly. Everything is also fine when I navigate to pages like here and here:
    http://123.123.123:8080/text.html
    http://123.123.123:8080/index.php
    http://123.123.123:8080/wordpress/info.php
    http://123.123.123:8080/wordpress/text.html

    But when I go here: http://123.123.123:8080/wordpress/index.php It redirects me to:
    http://123.123.123:82/wordpress/index.php

    I haven't set this up to my knowledge anywhere and I am quite distressed trying to fix it! I am running php as a CGI module and have no .htaccess file in the directory. I also do not have any rewrites set up to my knowledge but the module is installed. I wouldn't know how to identify them if they were set up. I tried a curl -iLk http://123.123.123:82/wordpress/index.php
    and in the route it shows that it first goes to that directory and then says the page is permenantly moved and redirects me.

    I am using a plain apt-get install of apache2 on umbuntu7.01 with the sites set up in the sites-available folder.

    Could someone please offer up some suggestions?
    Thanks!
    www.appletv.co.uk

  2.  

  3. #2
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    Port 8080 is Apache Tomcat, which is a Java servlet container (JSP, etc.).

    If you're not using Java servlets in yoru site, try shutting down Tomcat and see if that fixes anything:

    The shutdown script should be in

    /usr/local/tomcat/bin

    I think you can just type something like:

    sh /usr/local/tomcat/bin/shutdown.sh

    To start tomcat back up:

    sh /usr/local/tomcat/bin/startup.sh

  4. #3
    Senior Member tha_Gsheep's Avatar
    Join Date
    Feb 2003
    Location
    Scotland
    Posts
    188
    Member #
    780
    Found out what it was and it was so stupid. I had a hardcoded URL with a port number in the database that was invoked when you visited the page! Thanks though.
    www.appletv.co.uk


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:42 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com