[HELP] Forced ads via .htaccess

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Watch
Status
Not open for further replies.
[HELP] Editing Header with .htaccess

Ok does anyone know how to do this? To like add a code to all pages? I think it is with the append feature, but could I get an example... I do not know how to insert it correctly..

-Thanks

-RageD
 
Last edited:
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
PHP:
php_value output_buffering 4098
   php_value auto_prepend_file 'http://yourlinkhere.com/headerad.php'
   AddType application/x-httpd-php htm
   AddType application/x-httpd-php html
   php_value auto_append_file 'http://yourlinkhere.com/footerad.php'

This is for Header & Footer Ads to show in all pages.

Thankyou
Awakened-Soulja
Help me out by Donating some NameBucks to me!
 
0
Close
I never knew you could do that. :0
 
0
Close
but the member/user can't access the .htaccess once he/she has access to it, he/she just delete your ad, you need to modify Apache Module mod_ext_filter to insert forced ads (header or footer or both) or much better invest on xpanel which does this for you and whole lot more, http://www.xpanel.com/
take a look at the features:
XPanel Configuration:

* Multilingual signup form.
* Unlimited Domain Names.
* Admin approve/deny accounts or automatically accept.
* Block multi signups.
* Block multi IP by country provenience.
* usernames banning.
* e-mail banning.
* IP address banning.
* Offer MySQL database, username and password for each user and MySQL management via phpMyAdmin
* All HTML template files (header/footer/email/..) and XPanel.css file are configurable.
* Ability to insert different pop-up/header/footer into members html/htm files for each category.
* Ability to insert different header/footer into members php files for each category.(available only under Apache 2.0.XX, with mod_ext_filter)
* Auto advise of expire accounts: Auto sends a advising email to accounts that will expire within a given number of days (must use crontabs daily for it to be done automatically).
* Email users when they have reached 80% of their monthly bandwidth limit.
* Auto delete of expired accounts: Automatically deleted any accounts expired after a specified number of days (uses crontabs daily to be automatic).
* Auto suspend accounts that exceeded its maximum bandwidth limit for current month (uses crontabs daily to be automatic).
* Auto suspend accounts that exceeded its maximum daily bandwidth limit (uses crontabs minutely to be automatic).
* Preventing hot linking of images.
* File types - define what file types a user is allowed to upload.
* Upload File Size restrictions.
* Upload Image File Size restrictions.
* Filter for content, check for bad words in html, php, sql, txt, js, css ... files

Sign-Up form:

* User may use his own domain name.
* Submit data with a strong validation.
* Program sends a confirmation email.

Account Management:

* A session file system using timeouts.
* Cookie tracking.
* Disk space used.
* View/Change account details.
* Create/Delete MySQL DataBase and UserName.
* Install/Uninstall phpbb forum.
* Upgrade option using PayPal and/or 2checkout.com.
* Password find via secret question and answer.

Admin Control Panel:

* Written in 100% Perl.
* Total disk space used/available.
* Total accounts.
* Accounts awaiting approval (mass approve or deny, edit & approve).
* Search accounts by any field.
* List all accounts.
* Inactive accounts (never modified sites) older than 5,10..days.
* Expiring accounts (good for trial accounts to convert to paid ones).
* View account, list of files, directories, used disk space.
* Modify account.
* Delete account.
* Suspend account.
* Create/Delete MySQL DataBase and UserName.
* Limit Daily/Monthly Bandwidth Usage for each account.
* Mass delete expired/inactive/selected accounts.
* Send email to all/subscribed/expired accounts.
* Time-trial accounts that expire after a given period.
* Show XX per page.
* Change admin information.

Features for Users:

* Website 'name.domain.com' - third level domain name only
* Sign-Up with own domain name.
* Users can upload their own files via FTP or File Manager.
* cgi-bin (optional, not recommended).
* PHP
* One MySQL DataBase.
* phpBB Forum, one click install
* User Manager.
* Upgrade option to paid package, Payment via 2checkout.com or paypal.com.
priced at U.S.$99 one time license
 
0
Close
Im recommending iPanel as it also has a forced ads feature and many more things, for more info on it, please visit http://www.ihostdev.com and click on iPanel.

Thankyou
Awakened-Soulja
Help me out by Donating some NameBucks to me!
 
0
Close
Status
Not open for further replies.
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Filters for activity feeds
Your news feed, Latest activity, and the activity tab on profiles now have filter buttons: All, Posts, Quick replies, and Other. Your...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back