OZONE Asylum
Forums
Server-Side Scripting - Oh my!
.htacess issues
This page's ID:
30124
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
The folder structure is as follows htdocs->header In the header folder I have got all the files i.e. sample.html, header.php, header.html, footer.html, .htaccess When I directly access header using the url http://localhost/header/header.php it shows: This is my header ------------------------------------------------------- ------------------------------------------------------- This is my footer When I access sample.html using the url http://localhost/header/sample.html it shows A sample page. The header and footer should appear on this page without actually putting them in this file. The interesting thing is I used the same code on my remote server (linux based) it wrapps as expected. Seems to be a problem in the configuration of my local testing server. I tried phpinfo on server and the first thing I notice is the server api which is set to CGI on remote server but Apache 2.0 handler on my machine. Any clues?
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »
Maximum Security
OZONE
DHTML/Javascript
Server-Side Scripting - Oh my!
CSS - DOM - XHTML - XML - XSL - XSLT
Stupid Basic HTML
Visual Therapy
Photoshop
Photoshop Pong, Anyone?
***WARNING*** BIG SIG APPROACHING
Photography
3D Modelling & Rendering
Multimedia/Animation
Print Graphics
Holding Pens
Philosophy and other Silliness
Outpatient Counseling
Site reviews!
Mad Scientists' Laboratory
Getting to know the Grail