Ivorde Unix/Linux/Database/Web/Mail Forum

View unanswered posts
View active topics
It is currently Wed Feb 08, 2012 12:11 am


News News of Unix Networked Services & Applications

Site map of Unix Networked Services & Applications » Forum : Unix Networked Services & Applications

Mail, World Wide Web, Domain Name Server, Samba , Squid proxy

 [ Total topics 31 Go to page 1, 2, 3, 4

Message
 Post subject: Nginx + php-fpm setting php upload_max_filesize and other php values per vhost
PostPosted: Mon Jan 02, 2012 4:04 pm 
Recent version of PHP support the PHP_VALUE command for fcgi processes.
The trick is that multiple values need to be set in one "fastcgi_param PHP_VALUE" directive with a newline character as separator otherwise only the last one will be taken by the php process.


Example of increasing PHP's upload_max_filesize ini setting via Nginx web server:
Code:
    location ~ \.php$ {
      fastcgi_param PHP_VALUE "upload_max_filesize = 50M \n post_max_size=51M";
}


Below example is INCORRECT:
location ...

Read more : Nginx + php-fpm setting php upload_max_filesize and other php values per vhost | Views : 110 | Replies : 0 | Forum : Apache, Nginx, Lighttpd and other web server software

Top
 Post subject: How to disable anonymous access in samba 3
PostPosted: Sat Dec 10, 2011 12:08 am 
By default, samba on debian allows anonymous limited access (user doesn't provide a password can see public shares).

man samba:
Quote:
restrict anonymous (G)

The setting of this parameter determines whether user and group list information is returned for an anonymous connection. and mirrors the effects of the

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Control\LSA\RestrictAnonymous

registry key in Windows 2000 and Windows NT. When set to 0, user and group list information is returned to anyone who asks. When set to ...

Read more : How to disable anonymous access in samba 3 | Views : 143 | Replies : 0 | Forum : FTP, Scp, Sftp, Rsync

Top
 Post subject: Apache - Restricting "Server" information in HTTP response header with ServerTokens
PostPosted: Thu Nov 10, 2011 1:39 pm 
Apache - how to strip down the "Server" field in HTTP response header with ServerTokens

By default, the apache webserver may provide too detailed info in the http response header for your needs. Example:

Code:
HTTP/1.1 404 Not Found
Date: Thu, 10 Nov 2011 10:35:52 GMT
Server: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 202
Connection: close
Content-Type: text/html; charset=iso-8859-1


Stripping down the "Server" field in the http response can be done in ...

Read more : Apache - Restricting "Server" information in HTTP response header with ServerTokens | Views : 200 | Replies : 0 | Forum : Apache, Nginx, Lighttpd and other web server software

Top
 Post subject: Re: Search engine optimization
PostPosted: Sun Jan 30, 2011 6:01 pm 
You can try Indian seo company for this. India seo company do seo at responsible price.


http://www.creativecreationsite.com

Read more : Re: Search engine optimization | Views : 385 | Replies : 0 | Forum : Apache, Nginx, Lighttpd and other web server software

Top
 Post subject: Apache to Nginx Server parameters translation with php function
PostPosted: Thu Aug 26, 2010 2:47 pm 
When ran as Apache module, PHP will get $_SERVER variables in the form that they come in the request:
Content-Type, Content-Length, X-File-Size, X-File-Name and so on.


When ran as PHP-FPM with NGINX, php will see the $_SERVER variables in a totally different way (this is because of the default passing of server parameters to fcgi scripts in nginx).

Here's how $_SERVER variables will be seen by php when ran as php-fpm:
Array ( [USER] => ...

Read more : Apache to Nginx Server parameters translation with php function | Views : 1562 | Replies : 0 | Forum : Apache, Nginx, Lighttpd and other web server software

Top
 Post subject: Postfix change message size limit
PostPosted: Wed Aug 11, 2010 1:31 am 
Code:
message_size_limit = 20480000
Controlls the limit of each SMTP message submitted to a postfix smtp server.

The above example sets the limit of a mail message to 20MB.

Read more : Postfix change message size limit | Views : 557 | Replies : 0 | Forum : Mail servers and clients

Top
 Post subject: Pool for spam
PostPosted: Sat Aug 07, 2010 12:46 pm 
somebody@excy.nl will be a spam testing pool

Read more : Pool for spam | Views : 243 | Replies : 0 | Forum : Mail servers and clients

Top
 Post subject: How to test deflate/gzip compression on a HTTPS (HTTP over SSL) Apache server
PostPosted: Tue Aug 03, 2010 10:30 am 
To test a server for deflate/gzip compression, it needs to be notified that you, as a client (browser) accept compressed encoding.

This is done, by adding an "Accept-Encoding: compress, gzip" in the header of the request.

Testing an https Apache server for deflate/gzip compression, initiating a connection using openssl client
$ openssl s_client -connect 192.168.1.1:443
...Some output about ssl certificate and ssl protocol and cipher used....
GET / HTTP/1.1
Host: test.server.ro
Accept-Encoding: compress, gzip -->press ...

Read more : How to test deflate/gzip compression on a HTTPS (HTTP over SSL) Apache server | Views : 3700 | Replies : 0 | Forum : Apache, Nginx, Lighttpd and other web server software

Top
 Post subject: Vsftpd "425 Security: Bad IP connecting." error message.
PostPosted: Sun Jun 13, 2010 8:28 pm 
This error appears when the FTP control connection is initialized from IP1 and the data connection is initialized from IP2 for PASSIVE FTP.

In these cases vsftpd detects that IP1 and IP2 are different so it terminates the connection.

TO disable this check, add
Code:
pasv_promiscuous=YES
to vsftpd.conf and restart it.

Man quote:
Quote:
pasv_promiscuous
Set to YES if you want to disable the PASV security check that ensures the data connection originates from the same IP address ...

Read more : Vsftpd "425 Security: Bad IP connecting." error message. | Views : 1724 | Replies : 0 | Forum : FTP, Scp, Sftp, Rsync

Top
 Post subject: Problem with activation
PostPosted: Wed May 26, 2010 9:19 am 
Hi there, I dont know if I am writing in a proper board but I have got a problem with activation, link i receive in email is not working... http://forum.ivorde.ro/?01f2946b06b76eebe0abe63504a,

Read more : Problem with activation | Views : 308 | Replies : 1 | Forum : Qmail installations dedicated forum

Top
 [ Total topics 31 Go to page 1, 2, 3, 4


Last 10 active topics


Apache, Nginx, Lighttpd and other web server software

No new posts Nginx + php-fpm setting php upload_max_filesize and other php values per vhost
View the latest post

Mysql

No new posts Mysql> how to store select Zulu / UTC timestamp in database
View the latest post

TCP/IP Networking

No new posts Quagga ospf neighbour stuck in ExStart/DROther state
View the latest post

FTP, Scp, Sftp, Rsync

No new posts How to disable anonymous access in samba 3
View the latest post

Package and Software Management

No new posts "checking for libnet_build_ip in -lnet... no"+"ERROR! Libnet library not found"
View the latest post

Server and Network Security

No new posts CentOS Install Nemesis packet crafting tool + Libnet
View the latest post

Tutorials for general Unix

No new posts Using curl to get the HTTP response from an HTTP server
View the latest post
No new posts Linux - Unable to login (and authentication succeeds) - File size limit exceeded
View the latest post
No new posts Linux/FreeBSD how to check ntp time synchronization
View the latest post

Memory, Storage, Backup and Filesystems

No new posts Mdadm - Linux software RAID
View the latest post

Login

Username:   Password:   Log me on automatically each visit  

Statistics

Statistics

Total posts 188 | Total topics 681 | Total members 827



cronNews News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC + 2 hours [ DST ]

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
DAJ Glass 2 template created by Dustin Baccetti

phpBB SEO