i know it sounds totally dumb and retarded. but lets get some explaination in first. i heard there was a way to modify the .htaccess file to be able to parse ssi calls in an html file keeping the .html extention. provided ssi was installed on the server. well ok. ssi IS installed. now my use of this. i know there's a php include call with php. but the problem is that i get errors when i try to include a cgi return. i figured i screwed up in the cgi script. but it turns out to work perfectly with SSI. that's good it works. except i need a .php file extention for my site. so it clicked. there's an html/ssi parser for .htacess. so would it be possible at all to do that trick with .php? and if so. does anyone have it and care to share? i don't know the first thing about messing with stuff using .htaccess. even the ssi/html script would be a good find. thanks a lot.
I know how to do it except i don't know if it works....
AddType text/html .php AddHandler server-parsed .php
well i'll be... it worked! thank you very much for your help. i appreciate it a whole lot. would you by any chance know of a site where i can harness the full powers of .htaccess? thanks =)
I have a little .htaccess tutorial, i am missing one thing that i realised the other day.
REdirecting but there are many useful things...
http://www.codingclick.com/article.php?aid=3
Hope that helps
ut oh, i jumped the gun. it works. except now php scripts aren't even recognized. i mixed in php include with server side include. ssi works. but the php include doesn't.
lol...
i guess you will have to just use PHP includes.....
I realize that this thread has been up for a while, so you may have figured this out already, but have you looked at the virtual() command in PHP? I think it will do what you need.
--Jason
YOU ARE A GENIUS THANK YOU SO FRIGIN MUCH.