How To Only Show Ad's On Certain Sites Using Mod_Layout

Jun 25, 2009

I have Mod_layout installed on one of my servers and I was just wondering is there a way I can have it ignore certain sites by adding some line of code with the domain or something linking to the account/website I wish for it to not apply the advertisements too?

I know IPanel has this feature, but I'm not wanting use a script if I can help it, but just a direct code that I can put inside the .php.ini file and state which sites I want it to ignore.

So I'm not a coder or anything, but since IPanel has someway of commuicating with Mod_layout to tell it to not place ads on sites you select in IPanel, there should be a manual way to override it some kinda way?

View 1 Replies


ADVERTISEMENT

Mod_layout And GD2 Library

Mar 28, 2009

I using on my server mod_layout and GD2 library of course too. Today I detect problem with GD2 lib.

In the vhosts where are define mod_layout, GD library NOT RUNNING! When I try delete a mod_layout define variables, GD lib run wtihout any problems.

I try to find something about it on google, but I found nothing.

View 5 Replies View Related

Install Mod_layout

Apr 26, 2009

install mod_layout-5.1.

When I perform the make install.

I get Error 127.

View 4 Replies View Related

Installin Mod_Layout

Aug 21, 2007

I'm trying to install mod layout so i can fun ipanel. but i have no clue how todo this stuff.

Do you use DSO? If so just type make and as long as apxs is in your path all things
should go smoothly. If you are not using DSO you should be

If for some reason you need to compile apache try the following:

1. Copy the contents of mod_layout into a directory under
your treee so that you have:
src/modules/layout/

2. Now copy the file Makefile.STATIC to Makefile in the
layout directory.

3. Call the configure script as you normally would and add the switch:
--activate-module=src/modules/layout/liblayout.a

4. Make sure the build environment is clean by issuing the following
command:
> make clean

5. Build the new httpd binary with:
> make

6. Install the new httpd binary with:
> make install

7. Restart apache. Make sure you do a:
> apachectl stop
> apachectl start

See the README file for more on how to configure
mod_layout.

View 5 Replies View Related

Mod_layout, Escaping PHP Without ?>

Feb 15, 2007

I've installed mod_layout and it works correctly except if I use > in my PHP scripts for it. For some reason it is escaping from PHP and printing everything after >. So that leaves me unable to use the greater than sign to evaluate expressions or problems.

Example:

Code:
<?php
$a = 2;
$b = 3;

if($b > $a){
echo 'Greater than';
}
?>
Everything after > would be printed to the screen instead of being parsed through PHP. I am lost as what to try, I've tried all the normal escape characters but I must be missing something.

View 1 Replies View Related

Wrong Works Mod_layout

Jun 8, 2008

We Ask to forgive the bad English.

All orderly ed without mistake.
Apache/1.3.41

add In httpd.conf to virtual хосту for instance:
LayoutHeader "<H1>Test</H1>"

the text appears, but not there where it is necessary:

<H1>TEST</H1>
........
<head>
<title>title</title>
<meta http-equiv="Content-Type" content="text/html; charset==utf-8"/>
</head>
<body>
the text of the site.....

That is required?
It is Necessary чтоб was removed so:

..........
<head>
<title>title</title>
<meta http-equiv="Content-Type" content="text/html; charset==utf-8"/>
</head>
<body><H1>TEST</H1>........

View 5 Replies View Related

Show All Files

Mar 29, 2009

im on a vps with linux and directadmin installed, how do i activate the function to show all files in ftp including hidden files and also how to prevent hidden files from creating?

I need to perform this functions on multiple accounts under my vps, how do i do it?

View 1 Replies View Related

Dediwebspace.co.uk No Show

Apr 22, 2008

I purchased a "Complete Reseller" on Sunday 20th April and have still not received any details of my account.

I have attempted to:
Contact via MSN
Contact via Skype
Contact via UK Phone Support
Contact via Support Ticket

All with no luck!

I have just sent them an email but im guessing that will lead down to a dead end as well.

I would like to make use of the 14 Day money back guarantee however since communications is poor so I have started a claim via PayPal. However I am posting this here incase it catches the eye of any of the Dediwebspace support just like they did for other people on this forum.

View 9 Replies View Related

Always Show Www. In Domain

Apr 1, 2007

How do I configure server to always show the www. on the address bar of web browsers even when others type mydomain.com.

View 4 Replies View Related

How To Show Ads When You Are Not Hosting A Site

Nov 6, 2009

I own a few domains without websites; is it a good idea to show ads on them; do people actually earn anything by displaying ads on empty domains; my current hosting plan doesn't have quota for additional domains so how do I do that without buying a hosting.

View 9 Replies View Related

Show All Perl Process

Jun 3, 2009

How can see just perl or exim runing process with ssh on linux?

View 2 Replies View Related

Zend Won't Show Up In Phpinfo

Mar 31, 2008

cat /proc/version

Linux version 2.6.23.15-80.fc7 (gcc version 4.1.2 20070925 (Red Hat 4.1.2-27)) #1 SMP Sun Feb 10 17:29:10 EST 2008

I installed Zend Optimizer (this is NOT a cpanel box to clarify)

1. Downloaded ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz

2. cd's into that directory

3. ./install.sh

No errors

[root@host ~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]

However, ZO does not show up in php info

php -v

PHP 5.2.4 (cli) (built: Sep 18 2007 08:50:58)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with eAccelerator v0.9.5.2, Copyright (c) 2004-2006 eAccelerator, by eAccelerator

php -m

[Zend Modules]
eAccelerator

File: /usr/local/Zend/etc/php.ini

[Zend]
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
zend_optimizer.version=3.3.3

zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so

Code:
[root@host lib]# ls -lh
total 32K
drwxr-xr-x 9 root root 4.0K 2008-03-28 20:27 Optimizer-3.3.3
drwxr-xr-x 7 root root 4.0K 2008-03-28 20:27 Optimizer_TS-3.3.3
-rwxr-xr-x 1 root root 11K 2008-03-31 16:21 ZendExtensionManager.so
-rwxr-xr-x 1 root root 11K 2008-03-31 16:21 ZendExtensionManager_TS.so

View 7 Replies View Related

My Website Doesn't Show Up

Jul 11, 2008

I have set up my domain to point to the IP of my dedicated server. Unfortunately, I don't get to see the files I have uploaded, but instead I get this message: "This is a placeholder for the subdomain www.pcmdaily.com". I have tried to ping my domain, and it does indeed show that it points to my server.

I don't know what's wrong, though. It should show the contents of pcmdaily.com, the domain I have added, but it doesn't. I have checked my Document Root which is /home/admin/domains/pcmdaily.com/public_html

View 1 Replies View Related

Show Hidden Processes

Nov 17, 2008

how can i discover hidden processes running? Already running rkhunter, chrootkit.
[root@kenny ~]# ps auxfww
USER PID %CPU %MEM SIZE RSS TTY STAT START TIME COMMAND
Segmentation fault
[root@kenny ~]#

This just appen when i use flag "f = --full". Some running process causing this.

View 9 Replies View Related

Httpd Does Not Show Status

Dec 6, 2008

I just installed DirectAdmin with Apache 2.2 on CentOS 5.2 and whenever I manually restart httpd, it doesn't show if it started the service or not.

Code:
[root@server ~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd:

[root@server ~]# service httpd status
httpd (pid 17586 17585 17584 17583 17579 17555) is running...

It's running but it doesn't show the OK..

Is this bad? I'd like to fix it before I start moving my files over so I don't mind if I have to reimage it.

View 6 Replies View Related

Files Deleted With FTP Still Show Up In SSH

May 4, 2008

I just deleted several large files via FTP, but when I go in to SSH they still appear. Is there some sort of lag or something?

View 1 Replies View Related

Zend Not Show In Phpinfo

Jun 22, 2008

The issue starts after I reboot the server for another issue.

And then zend optimizer not show in phpinfo.

I have checked php -m and php -v,both normal.

[root@linux ~]# php -v
PHP 4.3.9 (cgi) (built: Sep 12 2007 11:09:31)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
[root@linux ~]# php -m
[PHP Modules]
bcmath
bz2
calendar
ctype
curl
dba
dbx
dio
domxml
exif
ftp
gd
gettext
gmp
iconv
imap
ldap
mbstring
mime_magic
mysql
openssl
overload
pcntl
pcre
posix
pspell
session
shmop
sockets
standard
sysvsem
sysvshm
tokenizer
wddx
xml
yp
Zend Optimizer
zlib

[Zend Modules]
Zend Extension Manager
Zend Optimizer

But phpinfo page only show
This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

I am headache and try to reinstall Zend many times and reboot the server many times but not work.

View 5 Replies View Related

How To Show Rsync Speed

Feb 3, 2008

I am using rsync to transfer files between servers, and I want to view the transmission speed. Is there any option that can do it?

View 4 Replies View Related

Website Cannot Show/work

Aug 10, 2007

I have a windows server. Hosted one website. Someone did the configuration for me, and everything works fine.

Now i have a new website. I added the files in a new folder under wwwroot (so there're 2 folders in wwwroot now). Then also added it inside IIS FTP Sites and Web Sites (but not sure if the settings are correct). As for the nameservers, i use back the same ones (as the old website).

I can view the files in the server, but i cannot enter it via browser.

View 2 Replies View Related

Show Memory Usage In PHP

Jul 4, 2007

Is there way to show the memory usage of the server in PHP?

The server is a VPS on Virtizzio(or whatever its called).

I want to make a little WAP page I can access on my mobile to show the servers CPU and Memory usage.

I already know how to show the CPU load.

View 7 Replies View Related

Accounts Show Up As Suspended In List

Mar 8, 2008

there are about 5 accounts that show up in suspended list, but they are really not suspended and the dns still points to my server, sites are live. I tried unsuspending. Nothing. I suspended, unsuspended, nothing. I forced a cpanel upgrade, nothing.

View 2 Replies View Related

Actual Images And Contents Do Not Show Up

Jun 26, 2008

i have to reload a page several times. at least once. the templates show up fine, but the actual images and contents do not show up unless i reload the page....this is evident during peak hours but not during normal hours.....

i've done tracert, no lost packets.

View 5 Replies View Related

Php Scripts That Can Show The Information Of HW/SW Of The Web Server?

Dec 10, 2008

Is there any php scripts that can show the information of HW/SW of the web server?

View 1 Replies View Related

Show Current CPU Usage (Owner)

May 16, 2008

OK, seems owner can be seen when api is set to CGI :-)

View 0 Replies View Related

How To Make Shell Cant Show File

May 22, 2007

i setup mod_security and disable this function
system,passthru,exec,popen,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec, highlight_file,pclose,pfsockopen,chmod,debugger_off,debugger_on,leak,ftp_exec,posix_uname,getmyuid,g etmygid,posix_kill,posix_mkfifo,chgrp,listen,define_syslog_variables,posix_getpwuid,get_current_user ,apache_child_terminate,posix_setpgid,posix_setsid,posix_setuid,getservbyport,getservbyname,myshelle xec,escapeshellarg

and now i have good security but i want ask hhow to make shell dosent show any files and also want know how i can change the error pages design like 400 410 for all my servers

View 1 Replies View Related

All Pages (HTML, PHP) Show Up As Downloads

Jul 22, 2007

I recently updated to Cpanel 11, which has resulted in a very interesting error.

All pages (html, PHP, etc) do not display, but rather show a download dialog box. What's wrong?

something is wrong with httpd config?

View 5 Replies View Related

How To Show Hidden (dot) Files By Default And...

Sep 13, 2007

on my old centos servers I can show hidden (.file) files with normal 'ls' and 'ls -l' command but on new I can`t show hidden files on that way, I must use command 'ls -a' to show that files!

Also, on new server I only see dir in who I working:
[root@server dir]#
but on old server this look:
root@server [/usr/local/dir]#

Also, on new server I have new colors for dirs, files..

View 3 Replies View Related

Show Evryting Zero Bits And Unlimited

Aug 10, 2007

i'm move from vps to new vps

after moved all accounts i show error

when i tyr click in " all accounts " by whm I show evryting zero bits and Unlimited

such this pic

show this pic

[url]

View 4 Replies View Related

Mysql> SHOW STATUS; Optimization Of My.cnf

Feb 16, 2007

Code:
mysql> SHOW STATUS;
+----------------------------+------------+
| Variable_name | Value |
+----------------------------+------------+
| Aborted_clients | 510 |
| Aborted_connects | 0 |
| Binlog_cache_disk_use | 0 |
| Binlog_cache_use | 0 |
| Bytes_received | 441269798 |
| Bytes_sent | 2031527307 |
| Com_admin_commands | 27428 |
| Com_alter_db | 0 |
| Com_alter_table | 4 |
| Com_analyze | 0 |
| Com_backup_table | 0 |
| Com_begin | 0 |
| Com_change_db | 27481 |
| Com_change_master | 0 |
| Com_check | 0 |
| Com_checksum | 0 |
| Com_commit | 0 |
| Com_create_db | 0 |
| Com_create_function | 0 |
| Com_create_index | 0 |
| Com_create_table | 0 |
| Com_dealloc_sql | 0 |
| Com_delete | 16883 |
| Com_delete_multi | 0 |
| Com_do | 0 |
| Com_drop_db | 0 |
| Com_drop_function | 0 |
| Com_drop_index | 0 |
| Com_drop_table | 0 |
| Com_drop_user | 0 |
| Com_execute_sql | 0 |
| Com_flush | 0 |
| Com_grant | 0 |
| Com_ha_close | 0 |
| Com_ha_open | 0 |
| Com_ha_read | 0 |
| Com_help | 0 |
| Com_insert | 5515 |
| Com_insert_select | 379 |
| Com_kill | 0 |
| Com_load | 0 |
| Com_load_master_data | 0 |
| Com_load_master_table | 0 |
| Com_lock_tables | 0 |
| Com_optimize | 0 |
| Com_preload_keys | 0 |
| Com_prepare_sql | 0 |
| Com_purge | 0 |
| Com_purge_before_date | 0 |
| Com_rename_table | 0 |
| Com_repair | 1 |
| Com_replace | 0 |
| Com_replace_select | 0 |
| Com_reset | 0 |
| Com_restore_table | 0 |
| Com_revoke | 0 |
| Com_revoke_all | 0 |
| Com_rollback | 0 |
| Com_savepoint | 0 |
| Com_select | 154467 |
| Com_set_option | 132 |
| Com_show_binlog_events | 0 |
| Com_show_binlogs | 7 |
| Com_show_charsets | 33 |
| Com_show_collations | 33 |
| Com_show_column_types | 0 |
| Com_show_create_db | 0 |
| Com_show_create_table | 0 |
| Com_show_databases | 6 |
| Com_show_errors | 0 |
| Com_show_fields | 0 |
| Com_show_grants | 17 |
| Com_show_innodb_status | 0 |
| Com_show_keys | 0 |
| Com_show_logs | 0 |
| Com_show_master_status | 0 |
| Com_show_ndb_status | 0 |
| Com_show_new_master | 0 |
| Com_show_open_tables | 0 |
| Com_show_privileges | 0 |
| Com_show_processlist | 0 |
| Com_show_slave_hosts | 0 |
| Com_show_slave_status | 0 |
| Com_show_status | 2 |
| Com_show_storage_engines | 0 |
| Com_show_tables | 38 |
| Com_show_variables | 79 |
| Com_show_warnings | 0 |
| Com_slave_start | 0 |
| Com_slave_stop | 0 |
| Com_stmt_close | 0 |
| Com_stmt_execute | 0 |
| Com_stmt_prepare | 0 |
| Com_stmt_reset | 0 |
| Com_stmt_send_long_data | 0 |
| Com_truncate | 0 |
| Com_unlock_tables | 0 |
| Com_update | 38964 |
| Com_update_multi | 0 |
| Connections | 306 |
| Created_tmp_disk_tables | 6302 |
| Created_tmp_files | 3 |
| Created_tmp_tables | 26220 |
| Delayed_errors | 0 |
| Delayed_insert_threads | 0 |
| Delayed_writes | 0 |
| Flush_commands | 1 |
| Handler_commit | 0 |
| Handler_delete | 7984 |
| Handler_discover | 0 |
| Handler_read_first | 10826 |
| Handler_read_key | 80354286 |
| Handler_read_next | 921590052 |
| Handler_read_prev | 0 |
| Handler_read_rnd | 2852179 |
| Handler_read_rnd_next | 358019891 |
| Handler_rollback | 0 |
| Handler_update | 34804652 |
| Handler_write | 3299547 |
| Key_blocks_not_flushed | 0 |
| Key_blocks_unused | 350900 |
| Key_blocks_used | 136652 |
| Key_read_requests | 177777142 |
| Key_reads | 234783 |
| Key_write_requests | 192997 |
| Key_writes | 70499 |
| Max_used_connections | 18 |
| Not_flushed_delayed_rows | 0 |
| Open_files | 126 |
| Open_streams | 0 |
| Open_tables | 89 |
| Opened_tables | 124 |
| Qcache_free_blocks | 1493 |
| Qcache_free_memory | 101831304 |
| Qcache_hits | 247556 |
| Qcache_inserts | 154232 |
| Qcache_lowmem_prunes | 0 |
| Qcache_not_cached | 170 |
| Qcache_queries_in_cache | 2670 |
| Qcache_total_blocks | 6866 |
| Questions | 491633 |
| Rpl_status | NULL |
| Select_full_join | 0 |
| Select_full_range_join | 0 |
| Select_range | 15228 |
| Select_range_check | 0 |
| Select_scan | 42652 |
| Slave_open_temp_tables | 0 |
| Slave_retried_transactions | 0 |
| Slave_running | OFF |
| Slow_launch_threads | 0 |
| Slow_queries | 29 |
| Sort_merge_passes | 0 |
| Sort_range | 26186 |
| Sort_rows | 92603755 |
| Sort_scan | 28212 |
| Table_locks_immediate | 427295 |
| Table_locks_waited | 239 |
| Threads_cached | 1 |
| Threads_connected | 17 |
| Threads_created | 18 |
| Threads_running | 2 |
| Uptime | 9400 |
+----------------------------+------------+
163 rows in set (0.00 sec)

this is what SHOW STATUS; commands give me can anyone provide me any helpful tips on what I can adjust in my.cnf to lower my server load which is above 10 during peak hours and mysql is the only thing eating this serve up I have lots og 3gb ram and a 64bit AMD 2800 server

View 6 Replies View Related

Huge Serverloads But Top Command Does Not Show It

Nov 8, 2007

server has huge serverloads of 25+ at random. When I login as root and type the top -s command, the highest cpu usage is less than 5%. The total is less than 50%. Yet my serverload can reach as high as 80.

I also get the "lfd: High 5 minute load average alert " email, but that also does not show what process uses such high resources.

How can the hugh serverload be seen and expained?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved