greetings, fellow internet!

welcome to digitalgangster.com, the coolest community for people who hack the gibson and make bajillions of dollars off of online marketing. this version of the forum is in view only mode for archival purposes. the new forum can be found here.

ASGPHE,
ytcracker, original digital gangster
follow me on twitter
fan me on facebook
Results 1 to 10 of 10

Thread: Maybe someone can see something I don't (htaccess itt)

  1. #1

    Default Maybe someone can see something I don't (htaccess itt)

    .htaccess = Redirect 301 /oldpage.html http://www.domain.com/newpage.html

    httpd.conf is set to AllowOverride All

  2. #2
    i'm a dirty jew sn1per's Avatar
    Join Date
    Nov 2007
    Location
    Morroco
    Posts
    8,433

    Default

    What are you trying to do and what isnt working?

    Officially the unofficial radio of DG: www.gangster.fm


  3. #3
    i'm a dirty jew sn1per's Avatar
    Join Date
    Nov 2007
    Location
    Morroco
    Posts
    8,433

    Default

    n/m i see what you've done here. Does .htaccess work in every other respect in this web directory? Such as auth etc?

    Officially the unofficial radio of DG: www.gangster.fm


  4. #4
    i'm as big as the atmosphere
    boston cream pie re%!!

    Join Date
    Jul 2005
    Posts
    2,294

    Default

    I always just searched through some forums for Apache shit, they always have the answer, someone has gone through your exact problem already.

  5. #5
    i'm a dirty jew sn1per's Avatar
    Join Date
    Nov 2007
    Location
    Morroco
    Posts
    8,433

    Default

    you may also wish to run this command

    tail -f /var/log/httpd/error_log

    and then hit the page you're trying to redirect in a web browser and view the error if any.

    Officially the unofficial radio of DG: www.gangster.fm


  6. #6
    i'm as big as the atmosphere
    boston cream pie re%!!

    Join Date
    Jul 2005
    Posts
    2,294

    Default

    #
    # The following lines prevent .htaccess and .htpasswd files from being
    # viewed by Web clients.
    #
    <FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
    </FilesMatch>

  7. #7

    Default

    there is nothing in the error log, I don't think apache is reading the htaccess file..

  8. #8
    i'm a dirty jew sn1per's Avatar
    Join Date
    Nov 2007
    Location
    Morroco
    Posts
    8,433

    Default

    put some bunk garbage in the .htaccess and see if it errors out.

    Officially the unofficial radio of DG: www.gangster.fm


  9. #9

    Default

    Quote Originally Posted by sn1per View Post
    put some bunk garbage in the .htaccess and see if it errors out.
    Good call.. When I throw some bad syntax in there it fux

    Hmmm, I've tried

    Redirect /oldpage.html /newpage.html
    Redirect 301 /oldpage.html /newpage.html

    Both of those do not give an error, but no redirect lol.. maybe I will give it a shot on a different host

  10. #10

    Default

    Fuck same garb on the other host ROFL @ getting hung up on the stupidest shit!

    my exact syntax for the .htaccess file ==

    Redirect index.html http://www.digitalgangster.com

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
  •