Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-26-2005, 07:49 AM
WebProWorld Member
 

Join Date: Jul 2004
Location: Fairbanks, AK
Posts: 33
akbigdog RepRank 0
Default Apache question: PHP in HeaderName or ReadmeName?

I currently have a VirtualHost set up and have the default HeaderName and ReadmeName to index_header.shtml and index_footer.shtml, respectively. But I would like to use PHP instead. Is there a way to do this? Here is the VirtualHost code I have:

Code:
<VirtualHost *:80>
	DocumentRoot W:\path\to\document\root
	ServerName nameofmy.site
	IndexOptions +IgnoreCase +SuppressDescription NameWidth=* +SuppressHTMLPreamble
	<Directory "/">
		HeaderName index_header.shtml
		ReadmeName index_footer.shtml
	</Directory>
</VirtualHost>
If it is not possible to use PHP, is there a way to set the entire "/" directory tree to use the same two files? Or do I have to place index_header.shtml and index_footer.shtml in every directory that I want to use them?

Server configuration:
Windows XP Pro SP2 running Apache/2.0.52 (Win32) mod_ssl/2.0.52 OpenSSL/0.9.7e PHP/5.0.3 Server

Mods: If this post would be better suited for the IT forum, please move it. I wasn't sure which one to post in.
__________________
Bourne in Alaska | Verticentric Design
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0