+ Reply to Thread
Results 1 to 5 of 5
Like Tree1Likes
  • 1 Post By descalzo

Thread: Mod rewrite problem or dns problem?

  1. #1
    bowie6228662771 is offline x10Hosting Member bowie6228662771 is an unknown quantity at this point
    Join Date
    May 2011
    Posts
    4

    Unhappy Mod rewrite problem or dns problem?

    I have installed phpwcms on my free hosting account. When I tried to use the script default navigation tag function for all navigation links, the links redirect to x10 hosting 404 page by default.

    The script looks like: $_SERVER(DOCUMENT_ROOT.'/PATH/FILE.*');

    The link should be appear as: mydomain/path/file.*
    But redirect to: x10hostingserver/?samequerycode=404page

    Is this related to mod rewrite off or dns problem?
    I checked out the script config is correct, I found no where I could fix this issue?
    I am stuck here and cannot work on the site further, please help!
    My website: http://www.wsproperties.x10.bz/

  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: Mod rewrite problem or dns problem?

    Your links point to http://www.wsproperty.x10.bz/index.php?Property-For-Rent etc.
    Nothing is always absolutely so.

  3. #3
    bowie6228662771 is offline x10Hosting Member bowie6228662771 is an unknown quantity at this point
    Join Date
    May 2011
    Posts
    4

    Re: Mod rewrite problem or dns problem?

    Thanks Descalzo for pointing the web link issue!
    I think I never register the subdomain or and dns service with the single rather than pural word!
    I have checked the config file and every hard coded link, all that points to wsproperties.x10.bz!
    Except the system navigation links are auto-generated by the $_SERVER['DOCUMENT_ROOT'] is used for path related.
    I had no idea why it come up with wsproperty.x10.bz?
    Please help!
    Last edited by bowie6228662771; 07-04-2011 at 11:41 AM.

  4. #4
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: Mod rewrite problem or dns problem?

    Looking at the source for the page, it has

    HTML Code:
    <base href="http://www.wsproperty.x10.bz" />
    in the head section. Since the links at the bottom of the page are relative, that is causing the problem.

    The problem is in the configuration of your script. Ask the ones who wrote it where the configuration setting that causes the above is located.
    bowie6228662771 likes this.
    Nothing is always absolutely so.

  5. #5
    bowie6228662771 is offline x10Hosting Member bowie6228662771 is an unknown quantity at this point
    Join Date
    May 2011
    Posts
    4

    Re: Mod rewrite problem or dns problem?

    Thank you so much for your detailed information and caring for your member!
    I tried, it works!
    You are brilliant!

+ Reply to Thread

Similar Threads

  1. Replies: 0
    Last Post: 04-04-2011, 02:21 PM
  2. problem with rewrite in htaccess
    By julien.monnier91 in forum Free Hosting
    Replies: 3
    Last Post: 12-10-2010, 05:49 PM
  3. Problem with Rewrite in htaccess
    By jullebarge in forum Free Hosting
    Replies: 0
    Last Post: 12-10-2010, 11:12 AM
  4. problem rewrite URL
    By tifak.amine79 in forum Free Hosting
    Replies: 2
    Last Post: 09-17-2010, 07:58 PM
  5. Rewrite engine problem
    By xav0989 in forum Programming Help
    Replies: 2
    Last Post: 12-06-2008, 09:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers