A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: htaccess help

  1. #1
    the cheesy child bounceboy's Avatar
    Join Date
    Dec 2008
    Location
    Australia
    Posts
    323

    htaccess help

    I guess this isn't a great place to put this but i need help with using htaccess files. i want to make a html page with a flash navigational bar for if you get lost.

    what i did was i made a file saying errorDocument /errors/notfound.html

    yeah all that stuff... i put the notfound.html in a folder called errors. so ityped my website then a random adress after and a 404 thing came up.

    also it found the htaccess file which annoyed me.

    look:

    Click here for an example
    my website is jamitback.com/julian which exists but the htaccess file is at my site not www.jamitback.com... will it still work?

  2. #2
    Bearded (M|G)od MyFriendIsATaco's Avatar
    Join Date
    Dec 2002
    Location
    Awesomeville.
    Posts
    3,045
    What exactly does your .htaccess file say?

    If your .htaccess file is sitting in your /julian directory, it should read:
    Code:
    ErrorDocument 404 /julian/errors/notfound.html
    Last edited by MyFriendIsATaco; 04-10-2009 at 10:08 AM.

  3. #3
    the cheesy child bounceboy's Avatar
    Join Date
    Dec 2008
    Location
    Australia
    Posts
    323
    huh? how's that right?

    the julian area is my website!
    i don't want it to redirect to my page while you are at jamitback.com!!!

  4. #4
    Bearded (M|G)od MyFriendIsATaco's Avatar
    Join Date
    Dec 2002
    Location
    Awesomeville.
    Posts
    3,045
    You completely did not read my response. Try again.

  5. #5
    the cheesy child bounceboy's Avatar
    Join Date
    Dec 2008
    Location
    Australia
    Posts
    323
    ok i thought it would do the same thing for the main page... sorry wasn't sure

  6. #6
    Bearded (M|G)od MyFriendIsATaco's Avatar
    Join Date
    Dec 2002
    Location
    Awesomeville.
    Posts
    3,045
    Nope. .htaccess files are specific to the directory they are in. They can't affect a directory above.

  7. #7
    the cheesy child bounceboy's Avatar
    Join Date
    Dec 2008
    Location
    Australia
    Posts
    323
    alright cool, thanks man. I owe you a thanks so here it is lol


    ... okay i just tested it out. HOORAY IT WORKS!!!

    unfortunately it doesn't work from www.bounceboy.com.au

    www.jamitback.com/julian is where www.bounceboy.com.au gets redirected to.

    i guess you can't really do anything about that though, so i'll have to wait until i get my OWNish website
    Last edited by bounceboy; 04-13-2009 at 03:21 AM.

  8. #8
    Bearded (M|G)od MyFriendIsATaco's Avatar
    Join Date
    Dec 2002
    Location
    Awesomeville.
    Posts
    3,045
    You're right, it's not going to work that way. Your bounceboy.com.au domain isn't even a redirect, it's just a frameset holding jamitback.com/julian inside of it. They aren't connected at all. I can get any domain and stick google.com in it. Does that mean I can control Google? No.

    You have a similar set up. You'll need to get a real host and have the domain pointing to your server with an A record.

  9. #9
    the cheesy child bounceboy's Avatar
    Join Date
    Dec 2008
    Location
    Australia
    Posts
    323
    yeah it goes to file not found whenever i click on something

    i disabled the script for now... i'll add it to the new website i am hoping to get soon

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center