Ivorde Unix/Linux/Database/Web/Mail Forum

View unanswered posts
View active topics
It is currently Wed Feb 08, 2012 8:18 am


News News of Apache, Nginx, Lighttpd and other web server software

Site map of Apache, Nginx, Lighttpd and other web server software » Forum : Apache, Nginx, Lighttpd and other web server software

This forum is dedicated to Apache, Nginx, Lighttpd, Squid and other HTTP transport protocol related software

 [ Total topics 21 Go to page 1, 2, 3

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 : 111 | Replies : 0

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

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

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

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 : 3705 | Replies : 0

Top
 Post subject: Pcfg_openfile: unable to check htaccess file, ensure it is readable
PostPosted: Sun May 23, 2010 1:14 am 
While playing with permisions i got the following errors in the error_log of Apache 2 with mod_rewrite enabled.

[Mon May 24 01:10:31 2010] [crit] [client X.X.X.X] (13)Permission denied: /home/www/domain.tld/img/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Mon May 24 01:10:58 2010] [crit] [client X.X.X.X] (13)Permission denied: /home/www/domain.tld/img/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Mon May 24 01:11:04 2010] [crit] [client X.X.X.X] (13)Permission denied: /home/www/domain.tld/img/.htaccess pcfg_openfile: unable to check ...

Read more : Pcfg_openfile: unable to check htaccess file, ensure it is readable | Views : 3587 | Replies : 0

Top
 Post subject: Phpbb 3.0.5 "Log me on automatically" cookies and sessions problem
PostPosted: Tue May 18, 2010 11:44 pm 
After deploying my forum on a php 5.3 server, I noticed a very ugly behavior: The "Log me on automatically" feature wasn't having any effect and the session IDs were appended to the URLs in the GET requests (&sid=.....). After checking and modifying phpbb cookie settings and cache removing, I had no success.

The solution came from this thread: http://www.phpbb.com/community/viewtopic.php?f=46&t=1823105:

The .htaccess file in the root of the phpbb board must contain following lines:
php_flag ...

Read more : Phpbb 3.0.5 "Log me on automatically" cookies and sessions problem | Views : 7007 | Replies : 3

Top
 Post subject: Nginx + apache (for PHP) with real IP addresses in logs
PostPosted: Tue May 18, 2010 4:49 pm 
I was trying to get nginx to work with apache 2.2.15. The idea is that nginx will ofer the static content and apache the PHP content.
Very easy to do and a lot of documentation is available over the internet on how to do it. However, i encountered some issue when i was trying to get nginx to send the real IP address of the visitor to the apache server and not the localhost ip ...

Read more : Nginx + apache (for PHP) with real IP addresses in logs | Views : 2143 | Replies : 0

Top
 Post subject: Re: Can somebody recommend an affordable SEO
PostPosted: Wed May 05, 2010 10:40 am 
Hi,

Before you contracting a 3rd party company to do your SEO it would be best if you started to read the basic SEO tehniques (Using page titles with your important keywords, using the title attribute in your links that would include keywords, using the alt attribute with images, using keywords in your domain name and urls, as you can see in the url of this post).

Besides SEO optimization, you should also "inspect" your ...

Read more : Re: Can somebody recommend an affordable SEO | Views : 310 | Replies : 1

Top
 Post subject: Drupal The Taxonomy Menu has been removed
PostPosted: Fri Apr 30, 2010 5:53 pm 
After playing with drupal a little, I saw the message "The Taxonomy Menu has been removed" and there was no Taxonomy in the "Administer" -> Content management menu.

This was because I had enabled Taxonomy wrapper module in Administer->Content Management->Categories

Disabling the wrapper brought the Taxonomy back.

Read more : Drupal The Taxonomy Menu has been removed | Views : 353 | Replies : 0

Top
 [ Total topics 21 Go to page 1, 2, 3


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 828



News 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