Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old February 4th, 2001, 10:45 PM
syanet syanet is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Posts: 4 syanet User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I plan to start a free web hosting service soon, but need a way to force one HTML table at the top of each page. Anyone know how this can be accomplished?

Reply With Quote
  #2  
Old February 5th, 2001, 12:07 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0

Reply With Quote
  #3  
Old February 5th, 2001, 03:07 PM
syanet syanet is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Posts: 4 syanet User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I took the .htaccess method with '5oo' errors. Here's what I did. I'm on a RaQ, so file paths are 'home/sites/www.domain.com/web'.

Put this in the .htaccess
<Location /web>
#any request /web and it's document tree
#are run through our Apache::Sandwich::handler
SetHandler perl-script
PerlHandler Apache::Sandwich

#we send this file first
PerlSetVar HEADER "/header.htm"
</Location>

I don't need a footer, so I removed that. I placed index.htm and header.htm in the 'web' directory. Any idea's?


Reply With Quote
  #4  
Old February 5th, 2001, 03:40 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>>I took the .htaccess method with '5oo' errors

You shouldn't use .htaccess method if you want to enforce your predefined header to be displayed on all users html page.
Check the readme file and find the line:

# filter *.brc files through Sandwich maker, but define
# HEADER/FOOTER per section below

then read that example again. One important Directive that readme doesn't mention, which is RemoveHandler -> http://httpd.apache.org/docs/mod/mo...l#removehandler

Reply With Quote
  #5  
Old February 5th, 2001, 04:26 PM
syanet syanet is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Posts: 4 syanet User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
We'll, does anyone have a httpd.conf section modified to what I'm looking for? I've been trying all afternoon with no success. I'm not very familiar with Apache as I'm on a RaQ3 and don't modify files often. Any help would be apperciated.

Reply With Quote
  #6  
Old February 6th, 2001, 12:59 PM
syanet syanet is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Posts: 4 syanet User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Anyone know where I can just hire someone to do this?

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Automatically insert header


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway