Hello, I'm running httpd on a Centos 5.3 machine. I'm trying to use .htaccess to disable direct linking to site images. I've got the following rewrite rule, the domain is test.example.com which is at /var/www/test.example.com under which is a directory called images.
RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(test%5C.)?example.com/.*$ [NC] RewriteRule .(jpg|gif)$ - [F]
In my httpd virtual host directive i have:
alias /images "/var/www/test.example.com/images" <Directory "/var/www/test.example.com/images"> Options None AllowOverride None order allow,deny Allow from all </Directory>
Comments appreciated. Thanks. Dave.
Dave wrote:
In my httpd virtual host directive i have:
alias /images "/var/www/test.example.com/images" <Directory "/var/www/test.example.com/images"> Options None AllowOverride None order allow,deny Allow from all
</Directory>
Comments appreciated.
Assume you mean that the rewrites are ignored. Note that "AllowOverride None" tells apache to completely ignore .htaccess files. Either move your rewrite rules into the vhost container or consider "AllowOverride FileInfo". -Alan
Hi all,
I am going to install CENTOS 5.3 on three HP Proliant ML 350G servers. The processor is Quad-core Xeon E5420 and E5335 for one of them. They all have 1GB Memory. Should I install a 32 bits version or 64 bits versions?
The servers will be used an organization about 50 peoples for Web, Mail and related services.
Thanks
--- En date de : Mar 18.8.09, Alan Sparks asparks@doublesparks.net a écrit :
De: Alan Sparks asparks@doublesparks.net Objet: Re: [CentOS] httpd .htaccess rewrite for images À: "CentOS mailing list" centos@centos.org Date: Mardi 18 Août 2009, 6h18
Dave wrote:
In my httpd virtual host directive i have:
alias /images "/var/www/test.example.com/images" <Directory "/var/www/test.example.com/images"> Options None AllowOverride None order allow,deny Allow from all
</Directory>
Comments appreciated.
Assume you mean that the rewrites are ignored. Note that "AllowOverride None" tells apache to completely ignore .htaccess files. Either move your rewrite rules into the vhost container or consider "AllowOverride FileInfo". -Alan
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Yaovi Atohoun schrieb:
Hi all,
I am going to install CENTOS 5..3 on three HP Proliant ML 350G servers. The processor is Quad-core Xeon E5420 and E5335 for one of them. They all have 1GB Memory. Should I install a 32 bits version or 64 bits versions?
The servers will be used an organization about 50 peoples for Web, Mail and related services.
64bit can still run 32bit programs. So it's a no-brainer: go 64bit right from the start.
Rainer
On Aug 18, 2009, at 6:48 AM, Rainer Duffner wrote:
Yaovi Atohoun schrieb:
Hi all,
I am going to install CENTOS 5..3 on three HP Proliant ML 350G servers. The processor is Quad-core Xeon E5420 and E5335 for one of them. They all have 1GB Memory. Should I install a 32 bits version or 64 bits versions?
The servers will be used an organization about 50 peoples for Web, Mail and related services.
64bit can still run 32bit programs. So it's a no-brainer: go 64bit right from the start.
I see the reason for the question. WIth the limited memory, there is less need for a 64 bit version, and 64 bit will use additional memory anyway. So does any of the applications needed benefit from the larger virtual address space?
Kevin Krieser wrote:
On Aug 18, 2009, at 6:48 AM, Rainer Duffner wrote:
Yaovi Atohoun schrieb:
Hi all,
I am going to install CENTOS 5..3 on three HP Proliant ML 350G servers. The processor is Quad-core Xeon E5420 and E5335 for one of them. They all have 1GB Memory. Should I install a 32 bits version or 64 bits versions?
The servers will be used an organization about 50 peoples for Web, Mail and related services.
64bit can still run 32bit programs. So it's a no-brainer: go 64bit right from the start.
I see the reason for the question. WIth the limited memory, there is less need for a 64 bit version, and 64 bit will use additional memory anyway. So does any of the applications needed benefit from the larger virtual address space?
Either will work, but when you notice that RAM is cheap and greatly improves performance, you'll be prepared for the upgrade if you are already running 64 bit.
Not all 32 bits applications can run on 64 bits O.S.
ORACLE is one of that. ORACLE web site say very clearly 32 bits ORACLE can NOT install on 64 bits LINUX O.S. I personal tried to do that several times, but failed. This include 32 bits ORACLE 10Gr2, ORACLE EBS R12 and ORACLE OEM 10GR2.
--- 09/8/18 (二),Rainer Duffner rainer@ultra-secure.de 寫道:
寄件者: Rainer Duffner rainer@ultra-secure.de 主旨: Re: [CentOS] Install 32 or 64 bits 收件者: "CentOS mailing list" centos@centos.org 日期: 2009年8月18日,二,上午7:48 Yaovi Atohoun schrieb:
Hi all,
I am going to install CENTOS 5..3 on three HP
Proliant ML 350G
servers. The processor is Quad-core Xeon E5420 and
E5335 for one of
them. They all have 1GB Memory. Should I install a 32
bits version or
64 bits versions?
The servers will be used an organization about
50 peoples for Web,
Mail and related services.
64bit can still run 32bit programs. So it's a no-brainer: go 64bit right from the start.
Rainer _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
___________________________________________________ 您的生活即時通 - 溝通、娛樂、生活、工作一次搞定! http://messenger.yahoo.com.tw/
mcclnx mcc wrote:
Not all 32 bits applications can run on 64 bits O.S.
ORACLE is one of that. ORACLE web site say very clearly 32 bits ORACLE can NOT install on 64 bits LINUX O.S. I personal tried to do that several times, but failed. This include 32 bits ORACLE 10Gr2, ORACLE EBS R12 and ORACLE OEM 10GR2.
maybe it cant install out of the box on a 64 bit box, but it must be able to get installed with some 32 bit rpm packages installed. (libriries, maybe glibc, etc)
t
mcclnx mcc schrieb:
Not all 32 bits applications can run on 64 bits O.S.
ORACLE is one of that. ORACLE web site say very clearly 32 bits ORACLE can NOT install on 64 bits LINUX O.S. I personal tried to do that several times, but failed. This include 32 bits ORACLE 10Gr2, ORACLE EBS R12 and ORACLE OEM 10GR2.
Oracle and 1 GB RAM....
;-)
Sure....
Rainer
On Tue, Aug 18, 2009 at 1:58 PM, Rainer Duffnerrainer@ultra-secure.de wrote:
Oracle and 1 GB RAM.... ;-) Sure....
Well, strictly speaking 1GB is the minimum required RAM but I wouldn't give my enemies an Oracle with 1GB and plenty of data to work with.
Hi,
On Tue, Aug 18, 2009 at 1:51 PM, mcclnx mccmcclnx@yahoo.com.tw wrote:
Not all 32 bits applications can run on 64 bits O.S.
ORACLE is one of that. ORACLE web site say very clearly 32 bits ORACLE can NOT install on 64 bits LINUX O.S. I personal tried to do that several times, but failed. This include 32 bits ORACLE 10Gr2, ORACLE EBS R12 and ORACLE OEM 10GR2.
Well, since Oracle provides 64 bit binaries for 10g, that shouldn't be an issue.
Yaovi Atohoun writes:
« HTML content follows » Hi all,
I am going to install CENTOS 5..3 on three HP Proliant ML 350G servers. The processor is Quad-core Xeon E5420 and E5335 for one of them. They all have 1GB Memory. Should I install a 32 bits version or 64 bits versions?
The servers will be used an organization about 50 peoples for Web, Mail and related services.
Thanks
go for x86_64
--- En date de : Mar 18.8.09, Alan Sparks asparks@doublesparks.net a écrit :
De: Alan Sparks <asparks@doublesparks.net> Objet: Re: [CentOS] httpd .htaccess rewrite for images À: "CentOS mailing list" <centos@centos.org> Date: Mardi 18 Août 2009, 6h18 Dave wrote: > In my httpd virtual host directive i have: > > alias /images "/var/www/test.example.com/images" > <Directory "/var/www/test.example.com/images"> > Options None > AllowOverride None > order allow,deny > Allow from all > </Directory> > > Comments appreciated. > Assume you mean that the rewrites are ignored. Note that "AllowOverride None" tells apache to completely ignore .htaccess files. Either move your rewrite rules into the vhost container or consider "AllowOverride FileInfo". -Alan _______________________________________________ CentOS mailing list <URL:/mc/compose?to=CentOS@centos.org>CentOS@centos.org <URL:http://lists.centos.org/mailman/listinfo/centos>http://lists.cent os.org/mailman/listinfo/centos
I would go for the 64bits version. (even though you only run 1GB Memory)
2009/8/18 Yaovi Atohoun yaovito@yahoo.fr
Hi all,
I am going to install CENTOS 5..3 on three HP Proliant ML 350G servers. The processor is Quad-core Xeon E5420 and E5335 for one of them. They all have 1GB Memory. Should I install a 32 bits version or 64 bits versions?
The servers will be used an organization about 50 peoples for Web, Mail and related services.
Thanks
--- En date de : *Mar 18.8.09, Alan Sparks asparks@doublesparks.net* a écrit :
De: Alan Sparks asparks@doublesparks.net Objet: Re: [CentOS] httpd .htaccess rewrite for images À: "CentOS mailing list" centos@centos.org Date: Mardi 18 Août 2009, 6h18
Dave wrote:
In my httpd virtual host directive i have:
alias /images "/var/www/test.example.com/images" <Directory "/var/www/test.example.com/images"> Options None AllowOverride None order allow,deny Allow from all
</Directory>
Comments appreciated.
Assume you mean that the rewrites are ignored. Note that "AllowOverride None" tells apache to completely ignore .htaccess files. Either move your rewrite rules into the vhost container or consider "AllowOverride FileInfo". -Alan
CentOS mailing list CentOS@centos.org http://mc/compose?to=CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos