Jump to content

dotMac

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

dotMac's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. uuuhm well, i'm guessing it's redirecting my pictures since... well, i cant see any of them xD aswell my css styles arent loaded either, though the php function include works... i tried using full path with my css style (src="http://www.mysite.com/mystyle.css", lets say) and wont work =( hold on xD, kay, i tried accessing directly to one of my images, i'm still getting redirected =( just as he said, my .htaccess goes like this: RewriteEngine on RewriteRule ^(.*)$ index.php?$1 any extra config i should be doing? =S
  2. does this means... no one knows? T_T
  3. oh hey, it was easier than i thought! I was just taking a look at the documentation for more info, but what u wrote works just as i want so URL rewrite huh? awesome =) Thank you LOTS kay, here's another obstacle xD aswell as folders and rest, also pictures and everything in theory is redirected to index.php xD which is kinda trouble cuz if i wanna have pics on my page, well, the problem is kinda obvious xD the image url will be index.php aswell xD. So now i'm wonderings two possible solutions, what's better or possible? (or is there a third better one?) A: I can set this rule but aswell make exceptions? (is this possible? it sooo sounds it isnt :S) B: I'll send headers mime type jpeg or whatever on each request of index.php if the user is asking a picture. Is this "good"? Anyone? =P
  4. Hi there, i'm not even sure how to search for this... Here's what i'm trying to do. I want to have a "redirection" somehow from any possible URL the user might provide to my index.php, so let's say if the user tries to enter to: http://www.mysite.com/category/page/ then it will be "redirected" to index.php where if i write echo $_SERVER['REQUEST_URI']; I'd get /category/page/ and so with any possible url, even if the url is incorrect, like it wouldn't matter where the user is going cuz a .php file is processing where the user wanna go, anyways. It's not really a redirection what's to be done i think... but what then? =S. Would it be too lame to use index.php as the default 404 error page? (dont answer that, it's lame xD) but plz do answer the thread =( is this possible?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.