I installed libapache2-mod-wsgi-py3 but It seems good for python3.6. My problem is set mod-wsgi for use python3.9 because my app django has all modules installed for this version.
How can I do?
I attach error log
[Fri Oct 21 10:22:21.549718 2022] [wsgi:error] [pid 8227] mod_wsgi (pid=8227): Target WSGI script '/var/www/html/elastic_queries/python/djangosite/giustiziasite/giustiziasite/wsgi.py' cannot be loaded as Python module.
[Fri Oct 21 10:22:21.549795 2022] [wsgi:error] [pid 8227] mod_wsgi (pid=8227): Exception occurred processing WSGI script '/var/www/html/elastic_queries/python/djangosite/giustiziasite/giustiziasite/wsgi.py'.
[Fri Oct 21 10:22:21.550458 2022] [wsgi:error] [pid 8227] Traceback (most recent call last):
[Fri Oct 21 10:22:21.550517 2022] [wsgi:error] [pid 8227] File "/var/www/html/elastic_queries/python/djangosite/giustiziasite/giustiziasite/wsgi.py", line 18, in <module>
[Fri Oct 21 10:22:21.550522 2022] [wsgi:error] [pid 8227] application = StaticFilesHandler(get_wsgi_application())
[Fri Oct 21 10:22:21.550528 2022] [wsgi:error] [pid 8227] File "/usr/local/lib/python3.6/dist-packages/django/core/wsgi.py", line 12, in get_wsgi_application
[Fri Oct 21 10:22:21.550532 2022] [wsgi:error] [pid 8227] django.setup(set_prefix=False)
[Fri Oct 21 10:22:21.550537 2022] [wsgi:error] [pid 8227] File "/usr/local/lib/python3.6/dist-packages/django/__init__.py", line 24, in setup
[Fri Oct 21 10:22:21.550541 2022] [wsgi:error] [pid 8227] apps.populate(settings.INSTALLED_APPS)
[Fri Oct 21 10:22:21.550546 2022] [wsgi:error] [pid 8227] File "/usr/local/lib/python3.6/dist-packages/django/apps/registry.py", line 114, in populate
[Fri Oct 21 10:22:21.550550 2022] [wsgi:error] [pid 8227] app_config.import_models()
[Fri Oct 21 10:22:21.550555 2022] [wsgi:error] [pid 8227] File "/usr/local/lib/python3.6/dist-packages/django/apps/config.py", line 301, in import_models
[Fri Oct 21 10:22:21.550558 2022] [wsgi:error] [pid 8227] self.models_module = import_module(models_module_name)
[Fri Oct 21 10:22:21.550563 2022] [wsgi:error] [pid 8227] File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
[Fri Oct 21 10:22:21.550567 2022] [wsgi:error] [pid 8227] return _bootstrap._gcd_import(name[level:], package, level)
[Fri Oct 21 10:22:21.550572 2022] [wsgi:error] [pid 8227] File "<frozen importlib._bootstrap>", line 994, in _gcd_import
[Fri Oct 21 10:22:21.550577 2022] [wsgi:error] [pid 8227] File "<frozen importlib._bootstrap>", line 971, in _find_and_load
[Fri Oct 21 10:22:21.550583 2022] [wsgi:error] [pid 8227] File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
[Fri Oct 21 10:22:21.550588 2022] [wsgi:error] [pid 8227] File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
[Fri Oct 21 10:22:21.550594 2022] [wsgi:error] [pid 8227] File "<frozen importlib._bootstrap_external>", line 678, in exec_module
[Fri Oct 21 10:22:21.550599 2022] [wsgi:error] [pid 8227] File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
[Fri Oct 21 10:22:21.550605 2022] [wsgi:error] [pid 8227] File "/var/www/html/elastic_queries/python/djangosite/giustiziasite/pygiustizia/models/__init__.py", line 2, in <module>
[Fri Oct 21 10:22:21.550608 2022] [wsgi:error] [pid 8227] from pygiustizia.models.model_judgements import CivileDocument
[Fri Oct 21 10:22:21.550613 2022] [wsgi:error] [pid 8227] File "/var/www/html/elastic_queries/python/djangosite/giustiziasite/pygiustizia/models/model_judgements.py", line 1, in <module>
[Fri Oct 21 10:22:21.550617 2022] [wsgi:error] [pid 8227] from elasticsearch import Elasticsearch
[Fri Oct 21 10:22:21.550645 2022] [wsgi:error] [pid 8227] ModuleNotFoundError: No module named 'elasticsearch'
I need to sort out my htaccess rules as i think this is the cause for many slow requests...
I have done the following that works but not sure if theres a better and efficient way other than the way i am doing it right now...
i cant really change the structure before, so i have to do this way and change the way i structure it better in future .
I wanted it dynamic, without having to change the existing URLs, that alot of people are aware of and indexed already ages ago... Also, i dont want to permanently redirect....
My file structure, (all in the same folder)
# If requested resource exists as a file or directory go to it
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule (.*) - [L]
RewriteRule ^sitemap\.xml$ /sitemap.php [L]
# i dynamically change the page to AMP if /amp/pagename.php is accessed....
RewriteRule ^amp/(.*) /$1 [NC,QSA,L]
#i have added this one rule again as the amp page for the home page is just /amp and the rule above with the trailing slash, didnt execute...
RewriteRule ^amp(.*) /$1 [NC,QSA,L]
RewriteRule ^car-price-(.*)-([0-9]+).php$ _car-price-mn-yr.php?gpimnt=$1&gpiyr=$2 [QSA,L]
#car-price-january-2018.php <- multiple urls: all months, years from 2009 to now...
RewriteRule ^car-price-([0-9]+).php$ _car-price-yr.php?gpiyr=$1 [QSA,L]
#car-price-2009.php <- yearly summary, many urls: 2009 till now.
RewriteRule ^car-price-([A-Za-z-]+).php$ _car-price-wildcard.php?_gpwilcvar=$1 [NC,QSA,L]
#car-price-london.php <- similar to the above, making it confusing.... many cities...car-price-scotland.php etc
RewriteRule ^car-price-([\w-]+).php$ _car-price-wildcard.php?_gpwilcvar=$1 [NC,QSA,L]
#gbp-rate-today-usa.php <- i have different urls for e.g. cad.rate-today-usa.php, etc...
RewriteRule ^([\w-]+).php$ _car-price-wildcard.php?_gpwilcvar=$1 [NC,QSA,L]
#why-do-diesel-cars-cost-more.php <-i have many articles that does not have a prefix or some sort to make this easier..
these rules are making my website 4 seconds longer to load.... is there a better set of rules which can help, or is this the only way?
MOD REWRITE LOG:
[Sun Mar 04 22:21:55.879811 2018] [rewrite:trace3] [pid 11803] mod_rewrite.c(476): [client 192.168.0.17:51780] 192.168.0.17 - - [carpriceusav2.local/sid#7fe0c37f2140][rid#7fe0c37370a0/initial] [perdir /media/sf_repo/carPriceusa.comNEW/] strip per-dir prefix: /media/sf_repo/carPriceusa.comNEW/car-price-kolkata.php -> car-price-kolkata.php, referer: http://carpriceusav2.local/silver-price-usa.php
[Sun Mar 04 22:21:55.879861 2018] [rewrite:trace3] [pid 11803] mod_rewrite.c(476): [client 192.168.0.17:51780] 192.168.0.17 - - [carpriceusav2.local/sid#7fe0c37f2140][rid#7fe0c37370a0/initial] [perdir /media/sf_repo/carPriceusa.comNEW/] applying pattern '(.*)' to uri 'car-price-kolkata.php', referer: http://carpriceusav2.local/silver-price-usa.php
[Sun Mar 04 22:21:55.879992 2018] [rewrite:trace4] [pid 11803] mod_rewrite.c(476): [client 192.168.0.17:51780] 192.168.0.17 - - [carpriceusav2.local/sid#7fe0c37f2140][rid#7fe0c37370a0/initial] [perdir /media/sf_repo/carPriceusa.comNEW/] RewriteCond: input='/media/sf_repo/carPriceusa.comNEW/car-price-kolkata.php' pattern='-f' => not-matched, referer: http://carpriceusav2.local/silver-price-usa.php
[Sun Mar 04 22:21:55.880117 2018] [rewrite:trace4] [pid 11803] mod_rewrite.c(476): [client 192.168.0.17:51780] 192.168.0.17 - - [carpriceusav2.local/sid#7fe0c37f2140][rid#7fe0c37370a0/initial] [perdir /media/sf_repo/carPriceusa.comNEW/] RewriteCond: input='/media/sf_repo/carPriceusa.comNEW/car-price-kolkata.php' pattern='-d' => not-matched, referer: http://carpriceusav2.local/silver-price-usa.php
[Sun Mar 04 22:21:55.880128 2018] [rewrite:trace3] [pid 11803] mod_rewrite.c(476): [client 192.168.0.17:51780] 192.168.0.17 - - [carpriceusav2.local/sid#7fe0c37f2140][rid#7fe0c37370a0/initial] [perdir /media/sf_repo/carPriceusa.comNEW/] strip per-dir prefix: /media/sf_repo/carPriceusa.comNEW/car-price-kolkata.php -> car-price-kolkata.php, referer: http://carpriceusav2.local/silver-price-usa.php
[Sun Mar 04 22:21:55.880135 2018] [rewrite:trace3] [pid 11803] mod_rewrite.c(476): [client 192.168.0.17:51780] 192.168.0.17 - - [carpriceusav2.local/sid#7fe0c37f2140][rid#7fe0c37370a0/initial] [perdir /media/sf_repo/carPriceusa.comNEW/] applying pattern '^sitemap\\.xml$' to uri 'car-price-kolkata.php', referer: http://carpriceusav2.local/silver-price-usa.php
[Sun Mar 04 22:21:55.880144 2018] [rewrite:trace3] [pid 11803] mod_rewrite.c(476): [client 192.168.0.17:51780] 192.168.0.17 - - [carpriceusav2.local/sid#7fe0c37f2140][rid#7fe0c37370a0/initial] [perdir /media/sf_repo/carPriceusa.comNEW/] strip per-dir prefix: /media/sf_repo/carPriceusa.comNEW/car-price-kolkata.php -> car-price-kolkata.php, referer: http://carpriceusav2.local/silver-price-usa.php
[Sun Mar 04 22:21:55.880151 2018] [rewrite:trace3] [pid 11803] mod_rewrite.c(476): [client 192.168.0.17:51780] 192.168.0.17 - - [carpriceusav2.local/sid#7fe0c37f2140][rid#7fe0c37370a0/initial] [perdir /media/sf_repo/carPriceusa.comNEW/] applying pattern '^amp/(.*)' to uri 'car-price-kolkata.php', referer: http://carpriceusav2.local/silver-price-usa.php
[Sun Mar 04 22:21:55.880159 2018] [rewrite:trace3] [pid 11803] mod_rewrite.c(476): [client 192.168.0.17:51780] 192.168.0.17 - - [carpriceusav2.local/sid#7fe0c37f2140][rid#7fe0c37370a0/initial] [perdir /media/sf_repo/carPriceusa.comNEW/] strip per-dir prefix: /media/sf_repo/carPriceusa.comNEW/car-price-kolkata.php -> car-price-kolkata.php, referer: http://carpriceusav2.local/silver-price-usa.php
[Sun Mar 04 22:21:55.880166 2018] [rewrite:trace3] [pid 11803] mod_rewrite.c(476): [client 192.168.0.17:51780] 192.168.0.17 - - [carpriceusav2.local/sid#7fe0c37f2140][rid#7fe0c37370a0/initial] [perdir /media/sf_repo/carPriceusa.comNEW/] applying pattern '^amp(.*)' to uri 'car-price-kolkata.php', referer: http://carpriceusav2.local/silver-price-usa.php
[Sun Mar 04 22:21:55.880178 2018] [rewrite:trace3] [pid 11803] mod_rewrite.c(476): [client 192.168.0.17:51780] 192.168.0.17 - - [carpriceusav2.local/sid#7fe0c37f2140][rid#7fe0c37370a0/initial] [perdir /media/sf_repo/carPriceusa.comNEW/] strip per-dir prefix: /media/sf_repo/carPriceusa.comNEW/car-price-kolkata.php -> car-price-kolkata.php, referer: http://carpriceusav2.local/silver-price-usa.php
[Sun Mar 04 22:21:55.880195 2018] [rewrite:trace3] [pid 11803] mod_rewrite.c(476): [client 192.168.0.17:51780] 192.168.0.17 - - [carpriceusav2.local/sid#7fe0c37f2140][rid#7fe0c37370a0/initial] [perdir /media/sf_repo/carPriceusa.comNEW/] applying pattern '^car-price-(.*)-([0-9]+).php$' to uri 'car-price-kolkata.php', referer: http://carpriceusav2.local/silver-price-usa.php
[Sun Mar 04 22:21:55.880204 2018] [rewrite:trace3] [pid 11803] mod_rewrite.c(476): [client 192.168.0.17:51780] 192.168.0.17 - - [carpriceusav2.local/sid#7fe0c37f2140][rid#7fe0c37370a0/initial] [perdir /media/sf_repo/carPriceusa.comNEW/] strip per-dir prefix: /media/sf_repo/carPriceusa.comNEW/car-price-kolkata.php -> car-price-kolkata.php, referer: http://carpriceusav2.local/silver-price-usa.php
[Sun Mar 04 22:21:55.880211 2018] [rewrite:trace3] [pid 11803] mod_rewrite.c(476): [client 192.168.0.17:51780] 192.168.0.17 - - [carpriceusav2.local/sid#7fe0c37f2140][rid#7fe0c37370a0/initial] [perdir /media/sf_repo/carPriceusa.comNEW/] applying pattern '^car-price-([0-9]+).php$' to uri 'car-price-kolkata.php', referer: http://carpriceusav2.local/silver-price-usa.php
[Sun Mar 04 22:21:55.880219 2018] [rewrite:trace3] [pid 11803] mod_rewrite.c(476): [client 192.168.0.17:51780] 192.168.0.17 - - [carpriceusav2.local/sid#7fe0c37f2140][rid#7fe0c37370a0/initial] [perdir /media/sf_repo/carPriceusa.comNEW/] strip per-dir prefix: /media/sf_repo/carPriceusa.comNEW/car-price-kolkata.php -> car-price-kolkata.php, referer: http://carpriceusav2.local/silver-price-usa.php
[Sun Mar 04 22:21:55.880226 2018] [rewrite:trace3] [pid 11803] mod_rewrite.c(476): [client 192.168.0.17:51780] 192.168.0.17 - - [carpriceusav2.local/sid#7fe0c37f2140][rid#7fe0c37370a0/initial] [perdir /media/sf_repo/carPriceusa.comNEW/] applying pattern '^car-price-([A-Za-z-]+).php$' to uri 'car-price-kolkata.php', referer: http://carpriceusav2.local/silver-price-usa.php
[Sun Mar 04 22:21:55.880235 2018] [rewrite:trace2] [pid 11803] mod_rewrite.c(476): [client 192.168.0.17:51780] 192.168.0.17 - - [carpriceusav2.local/sid#7fe0c37f2140][rid#7fe0c37370a0/initial] [perdir /media/sf_repo/carPriceusa.comNEW/] rewrite 'car-price-kolkata.php' -> '_car-price-wildcard.php?_gpwilcvar=kolkata', referer: http://carpriceusav2.local/silver-price-usa.php
[Sun Mar 04 22:21:55.880243 2018] [rewrite:trace3] [pid 11803] mod_rewrite.c(476): [client 192.168.0.17:51780] 192.168.0.17 - - [carpriceusav2.local/sid#7fe0c37f2140][rid#7fe0c37370a0/initial] split uri=_car-price-wildcard.php?_gpwilcvar=kolkata -> uri=_car-price-wildcard.php, args=_gpwilcvar=kolkata, referer: http://carpriceusav2.local/silver-price-usa.php
[Sun Mar 04 22:21:55.880250 2018] [rewrite:trace3] [pid 11803] mod_rewrite.c(476): [client 192.168.0.17:51780] 192.168.0.17 - - [carpriceusav2.local/sid#7fe0c37f2140][rid#7fe0c37370a0/initial] [perdir /media/sf_repo/carPriceusa.comNEW/] add per-dir prefix: _car-price-wildcard.php -> /media/sf_repo/carPriceusa.comNEW/_car-price-wildcard.php, referer: http://carpriceusav2.local/silver-price-usa.php
[Sun Mar 04 22:21:55.880259 2018] [rewrite:trace2] [pid 11803] mod_rewrite.c(476): [client 192.168.0.17:51780] 192.168.0.17 - - [carpriceusav2.local/sid#7fe0c37f2140][rid#7fe0c37370a0/initial] [perdir /media/sf_repo/carPriceusa.comNEW/] strip document_root prefix: /media/sf_repo/carPriceusa.comNEW/_car-price-wildcard.php -> /_car-price-wildcard.php, referer: http://carpriceusav2.local/silver-price-usa.php
[Sun Mar 04 22:21:55.880266 2018] [rewrite:trace1] [pid 11803] mod_rewrite.c(476): [client 192.168.0.17:51780] 192.168.0.17 - - [carpriceusav2.local/sid#7fe0c37f2140][rid#7fe0c37370a0/initial] [perdir /media/sf_repo/carPriceusa.comNEW/] internal redirect with /_car-price-wildcard.php [INTERNAL REDIRECT], referer: http://carpriceusav2.local/silver-price-usa.php
[Sun Mar 04 22:21:55.880509 2018] [rewrite:trace3] [pid 11803] mod_rewrite.c(476): [client 192.168.0.17:51780] 192.168.0.17 - - [carpriceusav2.local/sid#7fe0c37f2140][rid#7fe0c372d028/initial/redir#1] [perdir /media/sf_repo/carPriceusa.comNEW/] strip per-dir prefix: /media/sf_repo/carPriceusa.comNEW/_car-price-wildcard.php -> _car-price-wildcard.php, referer: http://carpriceusav2.local/silver-price-usa.php
[Sun Mar 04 22:21:55.880519 2018] [rewrite:trace3] [pid 11803] mod_rewrite.c(476): [client 192.168.0.17:51780] 192.168.0.17 - - [carpriceusav2.local/sid#7fe0c37f2140][rid#7fe0c372d028/initial/redir#1] [perdir /media/sf_repo/carPriceusa.comNEW/] applying pattern '(.*)' to uri '_car-price-wildcard.php', referer: http://carpriceusav2.local/silver-price-usa.php
[Sun Mar 04 22:21:55.880744 2018] [rewrite:trace4] [pid 11803] mod_rewrite.c(476): [client 192.168.0.17:51780] 192.168.0.17 - - [carpriceusav2.local/sid#7fe0c37f2140][rid#7fe0c372d028/initial/redir#1] [perdir /media/sf_repo/carPriceusa.comNEW/] RewriteCond: input='/media/sf_repo/carPriceusa.comNEW/_car-price-wildcard.php' pattern='-f' => matched, referer: http://carpriceusav2.local/silver-price-usa.php
[Sun Mar 04 22:21:55.880758 2018] [rewrite:trace1] [pid 11803] mod_rewrite.c(476): [client 192.168.0.17:51780] 192.168.0.17 - - [carpriceusav2.local/sid#7fe0c37f2140][rid#7fe0c372d028/initial/redir#1] [perdir /media/sf_repo/carPriceusa.comNEW/] pass through /media/sf_repo/carPriceusa.comNEW/_car-price-wildcard.php, referer: http://carpriceusav2.local/silver-price-usa.php
Combine the /amp rules:
RewriteRule ^amp(/.+)? /$1 [NC,QSA,L]
As a general rule of thumb, avoid using the .* matching, as the * is greedy and creates a larger backtracking.
Next, instead of having separate PHP scripts accepting the optional gpimnt parameter, you can do this in a single PHP file. If the value for the same is not present, proceed with only the gpiyr value received. This can again be combined with conditional gpwilcvar parameter etc. and reducing the total number of patterns your URL will be matched against. A single defined() (or isset()) call inside PHP is faster than pattern matching.
so this is my .htaccess:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
Now, domain.com/About is calling to file About.php just fine same as domain.com/portfolio works with portfolio.php.
Problem - domain.com/Portfolio does not work with Potfolio.php, error:
/Portfolio/.php was not found on this server.
I have no idea why it does this just with this one particular word, it gives headache already. Any ideas?
PS. There is no Portfolio folder
Update: error.log
[Fri Jul 10 12:26:46.304340 2015] [rewrite:trace3] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ff2a50/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] add path info postfix: C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio -> C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio/
[Fri Jul 10 12:26:46.304340 2015] [rewrite:trace3] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ff2a50/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] strip per-dir prefix: C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio/ -> Portfolio/
[Fri Jul 10 12:26:46.304340 2015] [rewrite:trace3] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ff2a50/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] applying pattern '^([^\\.]+)$' to uri 'Portfolio/'
[Fri Jul 10 12:26:46.304340 2015] [rewrite:trace4] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ff2a50/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] RewriteCond: input='C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio' pattern='!-f' => matched
[Fri Jul 10 12:26:46.304340 2015] [rewrite:trace2] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ff2a50/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] rewrite 'Portfolio/' -> 'Portfolio/.php'
[Fri Jul 10 12:26:46.304340 2015] [rewrite:trace3] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ff2a50/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] add per-dir prefix: Portfolio/.php -> C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio/.php
[Fri Jul 10 12:26:46.304340 2015] [rewrite:trace2] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ff2a50/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] strip document_root prefix: C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio/.php -> /New_Era/new_era_V20/betaV2/Portfolio/.php
[Fri Jul 10 12:26:46.304340 2015] [rewrite:trace1] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ff2a50/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] internal redirect with /New_Era/new_era_V20/betaV2/Portfolio/.php [INTERNAL REDIRECT]
[Fri Jul 10 12:26:46.304340 2015] [rewrite:trace3] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ff8b68/initial/redir#1] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] add path info postfix: C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio -> C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio/.php
[Fri Jul 10 12:26:46.304340 2015] [rewrite:trace3] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ff8b68/initial/redir#1] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] strip per-dir prefix: C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio/.php -> Portfolio/.php
[Fri Jul 10 12:26:46.304340 2015] [rewrite:trace3] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ff8b68/initial/redir#1] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] applying pattern '^([^\\.]+)$' to uri 'Portfolio/.php'
[Fri Jul 10 12:26:46.304340 2015] [rewrite:trace1] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ff8b68/initial/redir#1] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] pass through C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio
[Fri Jul 10 12:26:46.304340 2015] [:error] [pid 4924:tid 1660] [client ::1:50145] script 'C:/xampp/htdocs/notfound.php' not found or unable to stat
[Fri Jul 10 12:26:47.911142 2015] [rewrite:trace3] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ffaa70/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] add path info postfix: C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio -> C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio/
[Fri Jul 10 12:26:47.911142 2015] [rewrite:trace3] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ffaa70/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] strip per-dir prefix: C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio/ -> Portfolio/
[Fri Jul 10 12:26:47.911142 2015] [rewrite:trace3] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ffaa70/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] applying pattern '^([^\\.]+)$' to uri 'Portfolio/'
[Fri Jul 10 12:26:47.911142 2015] [rewrite:trace4] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ffaa70/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] RewriteCond: input='C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio' pattern='!-f' => matched
[Fri Jul 10 12:26:47.911142 2015] [rewrite:trace2] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ffaa70/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] rewrite 'Portfolio/' -> 'Portfolio/.php'
[Fri Jul 10 12:26:47.911142 2015] [rewrite:trace3] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ffaa70/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] add per-dir prefix: Portfolio/.php -> C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio/.php
[Fri Jul 10 12:26:47.911142 2015] [rewrite:trace2] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ffaa70/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] strip document_root prefix: C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio/.php -> /New_Era/new_era_V20/betaV2/Portfolio/.php
[Fri Jul 10 12:26:47.911142 2015] [rewrite:trace1] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ffaa70/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] internal redirect with /New_Era/new_era_V20/betaV2/Portfolio/.php [INTERNAL REDIRECT]
[Fri Jul 10 12:26:47.911142 2015] [rewrite:trace3] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ff2b50/initial/redir#1] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] add path info postfix: C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio -> C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio/.php
[Fri Jul 10 12:26:47.911142 2015] [rewrite:trace3] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ff2b50/initial/redir#1] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] strip per-dir prefix: C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio/.php -> Portfolio/.php
[Fri Jul 10 12:26:47.911142 2015] [rewrite:trace3] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ff2b50/initial/redir#1] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] applying pattern '^([^\\.]+)$' to uri 'Portfolio/.php'
[Fri Jul 10 12:26:47.911142 2015] [rewrite:trace1] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ff2b50/initial/redir#1] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] pass through C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio
[Fri Jul 10 12:26:47.911142 2015] [:error] [pid 4924:tid 1660] [client ::1:50145] script 'C:/xampp/htdocs/notfound.php' not found or unable to stat
[Fri Jul 10 12:26:48.051543 2015] [rewrite:trace3] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ff2a50/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] add path info postfix: C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio -> C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio/
[Fri Jul 10 12:26:48.051543 2015] [rewrite:trace3] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ff2a50/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] strip per-dir prefix: C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio/ -> Portfolio/
[Fri Jul 10 12:26:48.051543 2015] [rewrite:trace3] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ff2a50/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] applying pattern '^([^\\.]+)$' to uri 'Portfolio/'
[Fri Jul 10 12:26:48.051543 2015] [rewrite:trace4] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ff2a50/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] RewriteCond: input='C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio' pattern='!-f' => matched
[Fri Jul 10 12:26:48.051543 2015] [rewrite:trace2] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ff2a50/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] rewrite 'Portfolio/' -> 'Portfolio/.php'
[Fri Jul 10 12:26:48.051543 2015] [rewrite:trace3] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ff2a50/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] add per-dir prefix: Portfolio/.php -> C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio/.php
[Fri Jul 10 12:26:48.051543 2015] [rewrite:trace2] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ff2a50/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] strip document_root prefix: C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio/.php -> /New_Era/new_era_V20/betaV2/Portfolio/.php
[Fri Jul 10 12:26:48.051543 2015] [rewrite:trace1] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ff2a50/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] internal redirect with /New_Era/new_era_V20/betaV2/Portfolio/.php [INTERNAL REDIRECT]
[Fri Jul 10 12:26:48.067143 2015] [rewrite:trace3] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ffab70/initial/redir#1] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] add path info postfix: C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio -> C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio/.php
[Fri Jul 10 12:26:48.067143 2015] [rewrite:trace3] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ffab70/initial/redir#1] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] strip per-dir prefix: C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio/.php -> Portfolio/.php
[Fri Jul 10 12:26:48.067143 2015] [rewrite:trace3] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ffab70/initial/redir#1] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] applying pattern '^([^\\.]+)$' to uri 'Portfolio/.php'
[Fri Jul 10 12:26:48.067143 2015] [rewrite:trace1] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ffab70/initial/redir#1] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] pass through C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio
[Fri Jul 10 12:26:48.067143 2015] [:error] [pid 4924:tid 1660] [client ::1:50145] script 'C:/xampp/htdocs/notfound.php' not found or unable to stat
[Fri Jul 10 12:26:48.207543 2015] [rewrite:trace3] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ffaa70/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] add path info postfix: C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio -> C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio/
[Fri Jul 10 12:26:48.207543 2015] [rewrite:trace3] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ffaa70/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] strip per-dir prefix: C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio/ -> Portfolio/
[Fri Jul 10 12:26:48.207543 2015] [rewrite:trace3] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ffaa70/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] applying pattern '^([^\\.]+)$' to uri 'Portfolio/'
[Fri Jul 10 12:26:48.207543 2015] [rewrite:trace4] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ffaa70/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] RewriteCond: input='C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio' pattern='!-f' => matched
[Fri Jul 10 12:26:48.207543 2015] [rewrite:trace2] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ffaa70/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] rewrite 'Portfolio/' -> 'Portfolio/.php'
[Fri Jul 10 12:26:48.207543 2015] [rewrite:trace3] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ffaa70/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] add per-dir prefix: Portfolio/.php -> C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio/.php
[Fri Jul 10 12:26:48.207543 2015] [rewrite:trace2] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ffaa70/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] strip document_root prefix: C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio/.php -> /New_Era/new_era_V20/betaV2/Portfolio/.php
[Fri Jul 10 12:26:48.207543 2015] [rewrite:trace1] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ffaa70/initial] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] internal redirect with /New_Era/new_era_V20/betaV2/Portfolio/.php [INTERNAL REDIRECT]
[Fri Jul 10 12:26:48.207543 2015] [rewrite:trace3] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ff2b50/initial/redir#1] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] add path info postfix: C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio -> C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio/.php
[Fri Jul 10 12:26:48.207543 2015] [rewrite:trace3] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ff2b50/initial/redir#1] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] strip per-dir prefix: C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio/.php -> Portfolio/.php
[Fri Jul 10 12:26:48.207543 2015] [rewrite:trace3] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ff2b50/initial/redir#1] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] applying pattern '^([^\\.]+)$' to uri 'Portfolio/.php'
[Fri Jul 10 12:26:48.207543 2015] [rewrite:trace1] [pid 4924:tid 1660] mod_rewrite.c(475): [client ::1:50145] ::1 - - [localhost/sid#434100][rid#2ff2b50/initial/redir#1] [perdir C:/xampp/htdocs/New_Era/new_era_V20/betaV2/] pass through C:/xampp/htdocs/New_Era/new_era_V20/betaV2/Portfolio
[Fri Jul 10 12:26:48.223143 2015] [:error] [pid 4924:tid 1660] [client ::1:50145] script 'C:/xampp/htdocs/notfound.php' not found or unable to stat
[Fri Jul 10 12:26:56.413157 2015] [ssl:warn] [pid 5620:tid 260] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jul 10 12:26:56.459957 2015] [core:warn] [pid 5620:tid 260] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Jul 10 12:26:56.647158 2015] [ssl:warn] [pid 5620:tid 260] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jul 10 12:26:56.693958 2015] [mpm_winnt:notice] [pid 5620:tid 260] AH00455: Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.5.19 configured -- resuming normal operations
[Fri Jul 10 12:26:56.693958 2015] [mpm_winnt:notice] [pid 5620:tid 260] AH00456: Apache Lounge VC11 Server built: Jul 17 2014 11:50:08
[Fri Jul 10 12:26:56.693958 2015] [core:notice] [pid 5620:tid 260] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Fri Jul 10 12:26:56.693958 2015] [mpm_winnt:notice] [pid 5620:tid 260] AH00418: Parent: Created child process 5088
[Fri Jul 10 12:26:57.458359 2015] [ssl:warn] [pid 5088:tid 272] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jul 10 12:26:57.692360 2015] [ssl:warn] [pid 5088:tid 272] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jul 10 12:26:57.739160 2015] [mpm_winnt:notice] [pid 5088:tid 272] AH00354: Child: Starting 150 worker threads.
Try Adding this before your rewriteRule:
DirectorySlash Off
After my server crashed i am unable to start uWSGI again, and keep getting following errors on unlink() and bind().
I start my service as root, so it makes it even more strange.
Sun Nov 16 15:25:24 2014 - *** Starting uWSGI 1.2.3-debian (64bit) on [Sun Nov 16 15:25:24 2014] ***
Sun Nov 16 15:25:24 2014 - compiled with version: 4.7.2 on 06 July 2013 12:20:09
Sun Nov 16 15:25:24 2014 - detected number of CPU cores: 1
Sun Nov 16 15:25:24 2014 - current working directory: /
Sun Nov 16 15:25:24 2014 - writing pidfile to /run/uwsgi/app/myserver_dev/pid
Sun Nov 16 15:25:24 2014 - detected binary path: /usr/bin/uwsgi-core
Sun Nov 16 15:25:24 2014 - setgid() to 33
Sun Nov 16 15:25:24 2014 - setuid() to 33
Sun Nov 16 15:25:24 2014 - writing pidfile to /var/www/servers/myserver/development/logs/myserver.pid
Sun Nov 16 15:25:24 2014 - your memory page size is 4096 bytes
Sun Nov 16 15:25:24 2014 - detected max file descriptor number: 1024
Sun Nov 16 15:25:24 2014 - lock engine: pthread robust mutexes
Sun Nov 16 15:25:24 2014 - uwsgi socket 0 bound to UNIX address /run/uwsgi/app/myserver_dev/socket fd 3
Sun Nov 16 15:25:24 2014 - unlink(): Permission denied [socket.c line 75]
Sun Nov 16 15:25:24 2014 - bind(): Address already in use [socket.c line 107]
nginx servers:
server {
access_log /var/www/servers/example/development/logs/nginx_access.log;
error_log /var/www/servers/example/development/logs/nginx_error.log;
listen 8181;
server_name example.com;
charset utf-8;
}
server {
listen 80;
server_name *.example.com;
return 301 http://example.com$request_uri;
}
server {
access_log /var/www/servers/example/production/logs/nginx_access.log;
error_log /var/www/servers/example/production/logs/nginx_error.log;
listen 80;
server_name example.com;
charset utf-8;
}
server {
listen 7777;
server_name example.com;
charset utf-8;
root /var/www/servers/phpmyadmin;
index index.php index.html index.htm;
if (!-e $request_filename) {
rewrite ^/(.+)$ /index.php?url=$1 last;
break;
}
location ~ .php$ {
allow 2.110.234.34;
deny all;
try_files $uri =404;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include /etc/nginx/fastcgi_params;
}
}
uWSGI config development:
[uwsgi]
master = true
workers = 2
socket = /var/www/servers/example/development/sockets/example.sock
chmod-socket = 666
log-date = true
uid = www-data
gid = www-data
chdir = /var/www/servers/example/development/webapp
wsgi-file = /var/www/servers/example/development/webapp/webapp/wsgi.py
virtualenv = /var/www/servers/example/development/env
vacuum = true
env = DJANGO_SETTINGS_MODULE=webapp.settings
pidfile2 = /var/www/servers/example/development/logs/example.pid
uWSGI config production
[uwsgi]
master = true
workers = 2
socket = /var/www/servers/example/production/sockets/example.sock
chmod-socket = 666
log-date = true
uid = www-data
gid = www-data
chdir = /var/www/servers/example/production/webapp
wsgi-file = /var/www/servers/example/production/webapp/webapp/wsgi.py
virtualenv = /var/www/servers/example/production/env
vacuum = true
env = DJANGO_SETTINGS_MODULE=webapp.settings
pidfile2 = /var/www/servers/example/production/logs/example.pid
Albeit you run the server as root it drops privileges to 33 (presumibly www-data). This user (33) must own the right to remove /var/www/servers/example/production/sockets/example.sock.
Probably the crash corrupted the inode that now has wrong attributes. Fix them and it should work again.
Why Linux cant print to the printer model: Custom Engineering VKP80 ?
$ lpstat -p -d
printer CUSTOM_Engineering_VKP80 is idle. enabled since Sat 05 Apr 2014 10:50:52 PM CEST
printer LabelWriter-450 is idle. enabled since Tue 25 Mar 2014 10:47:06 AM CET
printer PDF is idle. enabled since Tue 25 Mar 2014 10:40:12 AM CET
printer Zebra_TLP2844 is idle. enabled since Tue 25 Mar 2014 05:52:37 AM CET
system default destination: LabelWriter-450
$ echo 'test' > /tmp/test.txt
$ lpr -P CUSTOM_Engineering_VKP80 /tmp/test.txt
Nothing happens.
EDIT:
E [05/Apr/2014:22:49:07 +0200] [Client 17] Empty Basic password.
E [05/Apr/2014:22:49:12 +0200] [Client 16] pam_authenticate() returned 7 (Authentication failure)
E [05/Apr/2014:22:49:20 +0200] [Client 15] pam_authenticate() returned 7 (Authentication failure)
E [05/Apr/2014:22:49:25 +0200] [Client 15] pam_authenticate() returned 7 (Authentication failure)
W [05/Apr/2014:22:50:58 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'CUSTOM_Engineering_VKP80-Gray..' already exists
E [05/Apr/2014:22:56:39 +0200] [Job 133] Aborting job because it has no files.
E [05/Apr/2014:22:57:20 +0200] [Job 134] Aborting job because it has no files.
E [05/Apr/2014:22:57:30 +0200] [Job 135] Aborting job because it has no files.
E [05/Apr/2014:22:58:08 +0200] [Job 136] Aborting job because it has no files.
E [05/Apr/2014:23:01:57 +0200] [Job 137] Stopping unresponsive job.
localhost - - [05/Apr/2014:22:50:52 +0200] "POST /admin HTTP/1.1" 200 1752 - -
localhost - sun [05/Apr/2014:22:50:52 +0200] "POST /admin HTTP/1.1" 200 1752 - -
localhost - - [05/Apr/2014:22:50:52 +0200] "POST /admin/ HTTP/1.1" 401 392 CUPS-Add-Modify-Printer successful-ok
localhost - sun [05/Apr/2014:22:50:52 +0200] "POST /admin/ HTTP/1.1" 200 392 CUPS-Add-Modify-Printer successful-ok
localhost - sun [05/Apr/2014:22:50:52 +0200] "POST /admin HTTP/1.1" 200 10930 - -
localhost - sun [05/Apr/2014:22:50:58 +0200] "POST /admin HTTP/1.1" 200 404 - -
localhost - - [05/Apr/2014:22:50:58 +0200] "POST /admin/ HTTP/1.1" 401 8463 CUPS-Add-Modify-Printer successful-ok
localhost - sun [05/Apr/2014:22:50:58 +0200] "POST /admin/ HTTP/1.1" 200 8463 CUPS-Add-Modify-Printer successful-ok
localhost - sun [05/Apr/2014:22:50:58 +0200] "POST /admin HTTP/1.1" 200 2789 - -
localhost - - [05/Apr/2014:22:51:38 +0200] "POST /printers/LabelWriter-450 HTTP/1.1" 200 311 Create-Job successful-ok
localhost - - [05/Apr/2014:22:52:11 +0200] "POST /printers/LabelWriter-450 HTTP/1.1" 200 328 Create-Job successful-ok
localhost - - [05/Apr/2014:22:52:26 +0200] "POST /printers/LabelWriter-450 HTTP/1.1" 200 329 Create-Job successful-ok
localhost - - [05/Apr/2014:22:53:07 +0200] "POST /printers/CUSTOM_Engineering_VKP80 HTTP/1.1" 200 321 Create-Job successful-ok
localhost - - [05/Apr/2014:22:54:26 +0200] "POST /printers/CUSTOM_Engineering_VKP80 HTTP/1.1" 200 322 Create-Job successful-ok
localhost - - [05/Apr/2014:22:54:26 +0200] "POST /printers/CUSTOM_Engineering_VKP80 HTTP/1.1" 200 282 Send-Document successful-ok
localhost - - [05/Apr/2014:23:00:19 +0200] "POST /printers/CUSTOM_Engineering_VKP80 HTTP/1.1" 200 322 Create-Job successful-ok
localhost - - [05/Apr/2014:23:00:19 +0200] "POST /printers/CUSTOM_Engineering_VKP80 HTTP/1.1" 200 282 Send-Document successful-ok
localhost - - [05/Apr/2014:23:01:57 +0200] "POST /jobs HTTP/1.1" 200 139 Restart-Job successful-ok
localhost - sun [05/Apr/2014:23:22:28 +0200] "GET /admin/log/error_log? HTTP/1.1" 200 899 - -