Version of Apache installed on a Debian machine
How can I check which version of Apache is installed on a Debian machine? Is there a command for doing this? 18 Answers 18
How can I check which version of Apache is installed on a Debian machine? Is there a command for doing this? 18 Answers 18
I have the following htaccess code: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond !{HTTPS} off RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] </IfModule> I want my site to be redirected to https://www. with HTTPS, and enforcing the www. subdomain, but when I access http://www. (without HTTPS), it does not redirect me to https://www … Read more
I am using the rest api in WordPress. For authentication I use the Basic authentication plugin (JSON Basic Authentication) I use this request (from both postman and nodejs): POST /wp-json/wp/v2/posts HTTP/1.1 Host: ************** Authorization: Basic ********************* Content-Type: application/json Cache-Control: no-cache { “title”: “test”, “content”: “test”, “status”: “private”, “excerpt”: “test” } When testing locally on my … Read more
I’d like to exclude a path that matches a rule from booting WordPress. The normal way I’d approach this is using the last flag [L] in a rule before all the others. To keep things simple in this example, I’ll just pretend I want to match a simple path /foo/. <IfModule mod_rewrite.c> RewriteEngine On RewriteRule … Read more
In a WordPress 3.5.1 the apache log generates the following error related to wp-cron.php: [18/Jun/2013:10:53:21 +0200] “POST /wp-cron.php?doing_wp_cron=1371545601.7393701076507568359375 HTTP/1.0” 200 211 “-” “WordPress/3.5.1; http://www.foo.com” [18/Jun/2013:10:54:36 +0200] “POST /wp-cron.php?doing_wp_cron=1371545676.3652250766754150390625 HTTP/1.0” 200 211 “-” “WordPress/3.5.1; http://www.foo.com” [18/Jun/2013:10:56:44 +0200] “POST /wp-cron.php?doing_wp_cron=1371545804.4974770545959472656250 HTTP/1.0” 200 211 “-” “WordPress/3.5.1; http://www.foo.com” … More than 700 petitions per hour like this are made … Read more
This is more like of an inquiry. So I enabled my WP_DEBUG_LOG to true. It does work though, debug.log is in my wp-content’s directory. But does it also do log rotation like different file for each day? Example: Today’s file – debug.log Yesterday’s – 2019-12-18-101010-debug.log Does it work like this? Or just debug.log all through … Read more
Running PHP 5.4 and Apache2 on Debian 7, with apache configured to use user www-data. I’m trying to figure out why WordPress cannot modify files in its directory when it has group ownership with full permissions, and seems to only work if it has user ownership. Allow me to illustrate : Case 1 Set User … Read more
I created a network in blog.animals.com, the network is running fine. I can set up blogs like blog.animals.com/chimpanse. This is also working. I like to have multiple (2) subdirectories for each blog, e.g. blog.animals.com/apes/chimpanse blog.animals.com/cats/birma On an address like blog.animals.com/apes should be nothing, it should redirect to blog.animals.com/apes/chimpanse and so on. I tried to achieve … Read more
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for WordPress Development Stack Exchange. Closed 5 years ago. Improve this question I was able to setup a WordPress containerised app using the docker-compose.yml file below and it is working fine: wp1: image: … Read more
I have this error when trying to browse php files locally [Fri Apr 13 19:16:40 2012] [alert] [client 127.0.0.1] C:/AppServ/www/hr-website/.htaccess: Invalid command ‘RewriteEngine’, perhaps misspelled or defined by a module not included in the server configuration, referer: http://127.0.0.1/ what is the problem ? 8 Answers 8