Results 1 to 8 of 8

Thread: URL detection and forward ... htaccess ?

  1. #1
    Join Date
    Apr 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbulb URL detection and forward ... htaccess ?

    Help needed please for URL detection by search engines and any user.

    My site Sudoku-As http://www.sudoku-as.co.nr was used an Free URL Redirection service with www.freedomain.co.nr or simply www.co.nr.

    It does appear that the company providing the .co.nr domains has shut down since yesterday, causing all of the .co.nr domains to stop functioning (see information from wikipedia.org at http://en.wikipedia.org/wiki/.co.nr ; This page was last modified 19:50, 7 April 2007).

    Actually my stuff is on server chez.com at main URL :
    http://www.chez.com/cosmos2000/Sudoku/Sudoku_As.html

    This last URL was never promoted in searhc engines but only http://www.sudoku-as.co.nr. So my website stop functioning.

    How to maintain it online using something like automatic URL detection and forward or may be some tricks for good use of htaccess.

    Thanks.

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    freedomain.co.nr are gone?

    You can't get that domain to point back at your server, I'm afraid, without buying the co.nr domain.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Apr 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default What about Virtual User Hosts

    So troubleful !!!!!!! Zuttttttttt

    But what about Virtual User Hosts, refferred in the fellowing link:

    http://httpd.apache.org/docs/2.0/misc/rewriteguide.html

    Virtual User Hosts
    Description:
    Assume that you want to provide www.username.host.domain.com for the homepage of username via just DNS A records to the same machine and without any virtualhosts on this machine.
    Solution:
    For HTTP/1.0 requests there is no solution, but for HTTP/1.1 requests which contain a Host: HTTP header we can use the following ruleset to rewrite http://www.username.host.com/anypath internally to /home/username/anypath:
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^www\.[^.]+\.host\.com$
    RewriteRule ^(.+) %{HTTP_HOST}$1 [C]
    RewriteRule ^www\.([^.]+)\.host\.com(.*) /home/$1$2



    In this case I d'nt kwon how to place old URL http://www.sudoku-as.co.nr
    and at the same time take in consideration my stuff at http://www.chez.com/cosmos2000/Sudoku/Sudoku_As.html

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Yes, but you need to have the co.nr DNS servers direct requests from sudoku-as.co.nr to chez.com in the first place.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Apr 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank for your reply.

    So "Virtual User Hosts" configuration in Apache is useless and means nothing ? !

  6. #6
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    It's not useless, but you need to own the domain before you can serve a different website from it.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  7. #7
    Join Date
    Apr 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks Twey

    So I am in big **** because the co.nr ....

  8. #8
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Pretty much, yes.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •