Search found 64 matches

by logan
2011/09/01 21:12:06
Forum: CentOS 5 - General Support
Topic: enable centos 5.5 for remote-to-local X display
Replies: 4
Views: 721

enable centos 5.5 for remote-to-local X display

X could be running with the -nolisten argument. I'm not sure about CentOS, but Debian sets this in /etc/X11/xinit/xserverrc.

Have you thought about forwarding X over ssh? [i]ssh -o ForwardX11=yes [/i] or [i]ForwardX11 yes[/i] in ~/.ssh/config.
by logan
2011/08/29 18:18:07
Forum: CentOS 5 - Webhosting Support
Topic: mod_rewrite problems
Replies: 7
Views: 3853

mod_rewrite problems

Do you have some existing rewrite rules that would let you match on QUERY_STRING? Otherwise I'm not sure how that would work. I would think you'd want something more like this: [code] RewriteBase / RewriteRule ^page1/([0-9]+)$ /page2/page1/$1 [R=301,L] [/code] Shouldn't need the RewriteCond since it...
by logan
2011/08/16 18:05:53
Forum: CentOS 5 - Webhosting Support
Topic: Redirection???
Replies: 4
Views: 4212

Redirection???

You probably need to enable .htaccess files in the web sever/vhost config: [code]<VirtualHost *:80> ServerName www.example.com ServerAlias example.com DocumentRoot /var/www/example.com <Directory /var/www/example.com> AllowOverride All </Directory> </VirtualHost>[/code] Or just throw the redirect ri...
by logan
2011/07/18 21:33:42
Forum: CentOS 5 - General Support
Topic: Need advice on updating to php 5.2 running Centos 5.5
Replies: 3
Views: 443

Re: Need advice on updating to php 5.2 running Centos 5.5

CentOS 5.6 has some php53-* packages available, but you first need to uninstall the existing php packages. I don't know much about the these except that they don't seem to be updated very often (last was [url=http://rhn.redhat.com/errata/RHSA-2011-0196.html]Feb 2011[/url]) and there's been a number ...
by logan
2011/07/15 19:41:41
Forum: CentOS 5 - General Support
Topic: how do i look deeper into a PID??
Replies: 3
Views: 485

how do i look deeper into a PID??

I'm not sure if there's the possibility of Apache being unable to get status on a particular child process, race condition or otherwise spinning out of control, but you could use [i]lsof -p 10862[/i] to see what files/directories are open and maybe [i]strace -fp 10862[/i] to see what it's doing.
by logan
2011/06/28 19:52:52
Forum: CentOS 5 - General Support
Topic: VPS server with no web browser
Replies: 4
Views: 933

Re: VPS server with no web browser

[i]yum -y install firefox[/i] from the command line as root or with sudo. It's 3.6.18, if you need something newer you'll need to check for another repo or just download from Mozilla.
by logan
2011/06/22 19:32:31
Forum: CentOS 5 - General Support
Topic: Help moving drives to new hardware
Replies: 3
Views: 1411

Re: Help moving drives to new hardware

The main problem I have when moving disks from one server to another at work is the SATA controller.. So I figure out what module I need (ahci) and add it to the current list (ata_piix), then rebuild initrd: /etc/modprobe.conf [code]alias scsi_hostadapter ata_piix alias scsi_hostadapter1 ahci[/code]...
by logan
2011/06/16 18:42:03
Forum: CentOS 5 - Webhosting Support
Topic: upgrade to php53
Replies: 2
Views: 1409

upgrade to php53

As far as I know you need to first uninstall all existing php* packages before installing php53*.
by logan
2011/06/16 18:40:06
Forum: CentOS 5 - Webhosting Support
Topic: howto modules enable/disable in centos 5.6 with apache httpd version 2.x
Replies: 2
Views: 3391

howto modules enable/disable in centos 5.6 with apache httpd

mod_include seems to be loaded by default and the necessary output filter configured on RHEL/Fedora/CentOS (/etc/httpd/conf/httpd.conf), all you should have to do is make sure the "[i]Options +Includes[/i]" directive is set on the specific directory containing the .shtml file(s) (via .htaccess or )....
by logan
2011/04/20 20:32:46
Forum: CentOS 5 - Webhosting Support
Topic: .htaccess - rewriterule multiple domains same site
Replies: 5
Views: 1838

Re: .htaccess - rewriterule multiple domains same site

This should be possible using the default host (even accessing by IP) so long as there's no redirects happening in the server config/code. If you're using VirtualHost's you could setup something like this: ServerName www.domain1.com ServerAlias www.newsite.com ServerAlias www.differentaddress.com Se...

Go to advanced search