[users@httpd] Redirect with % character not scape with \ 'backslash', module mod_rewrite.

2022-06-15 Thread Rodrigo Cunha
Hi all, i need redirect all requests from me server to bellow url :
https://blob.intranet/bills-&-bills-digibills---ica%25C3%25A7%25C3%25A3o.aspx.aspx

I tested it for other urls, like google.com/path, and work fine.
But, in the url 'blob.intranet/...' everytime my redirect changes the path
from %25C3%25A7%25C3%25A3o to 5C35A75C35A3o. I tried to escape %, but it
didn't work. When I use escape the path does not match with the original
url.


-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


Re: [users@httpd] Apache max workers in /server-status not same as MaxWorkers in mpm_event_module

2021-04-26 Thread Rodrigo Cunha
Hi, send the inventory this host with S/O version and Apache version.
Send the command and options used for check status.

Tks.

On Mon, Apr 26, 2021 at 10:59 AM Norbert Elbanbuena 
wrote:

> Hi,
>
> I attempted to tune Apache's configuration, and used below settings:
>
> 
> ThreadsPerChild 64
> MaxRequestWorkers 1600
> MinSpareThreads 800
> MaxSpareThreads 1600
> ServerLimit 25
> MaxConnectionsPerChild 0
> 
>
> But checking /server-status I only see Max workers up to 1152
>
> Server uptime: 11 hours 20 minutes 35 secondsServer load: 0.15 0.15 0.21Total
> accesses: 57926 - Total Traffic: 279.6 MB - Total Duration: 50642985CPU
> Usage: u35.7 s29.44 cu0 cs0 - .16% CPU load1.42 requests/sec - 7.0
> kB/second - 5060 B/request - 874.27 ms/request130 requests currently
> being processed, 1022 idle workers
> Slot PID Stopping Connections Threads Async connections
> total accepting busy idle writing keep-alive closing
> 0 22539 no 0 yes 0 64 0 0 0
> 1 22540 no 0 yes 0 64 0 0 0
> 2 22541 no 0 yes 0 64 0 0 0
> 3 22743 no 0 yes 0 64 0 0 0
> 4 22832 no 0 yes 0 64 0 0 0
> 5 22833 no 3 yes 3 61 0 0 0
> 6 22974 no 1 yes 2 62 0 0 0
> 7 22975 no 3 yes 3 61 0 0 0
> 8 22976 no 5 yes 4 60 0 0 0
> 9 22983 no 4 yes 4 60 0 0 0
> 10 23272 no 2 yes 2 62 0 0 0
> 11 23273 no 6 yes 5 59 0 0 0
> 12 23274 no 12 yes 10 54 0 1 0
> 13 23280 no 12 yes 12 52 0 0 0
> 14 23288 no 14 yes 13 51 0 0 0
> 15 23300 no 20 yes 19 45 0 0 0
> 16 23331 no 54 yes 53 11 0 0 0
> 17 23370 no 0 yes 0 64 0 0 0
> Sum 18 0 136   130 1022 0 1 0
> Am I reading it incorrectly?
>
> Regards,
>
> Norbert Elbanbuena
>


-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


[users@httpd] Settup httpd cluster.

2018-09-07 Thread Rodrigo Cunha
Hi, i need build a cluster.2 hosts in front-end and 2 hosts in back-end.
where i get a good documentation about this?

[image: image.png]
-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


Re: [users@httpd] Script CGI with shell

2018-09-04 Thread Rodrigo Cunha
tks, Dedeco this tutorial work fine.
Tks, all!

Em ter, 4 de set de 2018 às 16:15, Dedeco Balaco
 escreveu:

> Try this:
>
> http://www.yolinux.com/TUTORIALS/BashShellCgi.html
>
> Tell us if those examples work for you.
>
>
> Em 04-09-2018 16:04, Rodrigo Cunha escreveu:
> > Hello, i have a question, i try start a shell(bash) script in my apache2
> > and not work, i seting bellow diretive in my vhost but not work:
> > 
> > Options +ExecCGI
> > AddHandler cgi-script .cgi .pl
> > 
> >
> > root@HTTPS:dir #ls -l
> > /opt/dev/www/www.tmp.oduvaldocozzi.intranet/public_html/dir/
> > total 12
> >
> > -rwxr-xr-x 1 webmaster dev 31 Set  4 15:48 x.sh
> >
> > But the bash script notwork, only display the file content:
> > #!/bin/bash
> > echo "Hello world"
> >
> >
> >
> >
> > --
> > Atenciosamente,
> > Rodrigo da Silva Cunha
> > São Gonçalo, RJ - Brasil
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


[users@httpd] Script CGI with shell

2018-09-04 Thread Rodrigo Cunha
Hello, i have a question, i try start a shell(bash) script in my apache2
and not work, i seting bellow diretive in my vhost but not work:

Options +ExecCGI
AddHandler cgi-script .cgi .pl


root@HTTPS:dir #ls -l
/opt/dev/www/www.tmp.oduvaldocozzi.intranet/public_html/dir/
total 12

-rwxr-xr-x 1 webmaster dev 31 Set  4 15:48 x.sh

But the bash script notwork, only display the file content:
#!/bin/bash
echo "Hello world"




-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


[users@httpd] Error compile apache httpd-2.4.33

2018-04-09 Thread Rodrigo Cunha
Dears, i try installing apache httpd-2.4.33 in debian8 but not work.

My httpd source code, in configure script, request the modules apr. I
installing this module and a try run this apache but not work, this apache
request other module: apr-util;

when i try install this module, not work and output this:

/home/rcunha/apr-util-1.6.1/build/rules.mk:206: recipe for target
'xml/apr_xml.lo' failed
make[1]: *** [xml/apr_xml.lo] Error 1
make[1]: Leaving directory '/home/rcunha/apr-util-1.6.1'
/home/rcunha/apr-util-1.6.1/build/rules.mk:118: recipe for target
'all-recursive' failed
make: *** [all-recursive] Error 1

I search fix for this problem in google but not find solution for this
problem.


-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil



Livre
de vírus. www.avast.com
.
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>


[users@httpd] Help: Vhost default whit other IP.

2018-02-03 Thread Rodrigo Cunha
Hi, i've http(apache2) in debinan 8 and my setup a second vhost(
www.hostB.com) with ip: 192.168.1.51:8000 but my default host in apache is
www.hostA.com.
My apache with received request from browser in 192.168.1.51:8000, redirect
my request for www.hostA.com
I need help
[]'s

-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil



Livre
de vírus. www.avast.com
.
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>


Re: [users@httpd] Setup SquirreMail with Virtual Host

2018-01-19 Thread Rodrigo Cunha
Report Feedback for solution this problem: postfix with suport squirrelmail
in apache2.
Considerations: My LAMP(in DEBIAN 7) IP:192.168.2.50
configuration in my bind(DNS Autorytative):
step 1: setup my mail in DNS:
vim db.oduvaldocozzi.intranet
mail IN A 192.168.2.50
oduvaldocozzi.intranet. IN  MX  10  mail.oduvaldocozzi.intranet.
step 2: Setup a Vhost with SSL access:
mail.oduvaldocozzi.intranet.conf
sslmail.oduvaldocozzi.intranet.conf

content: mail.oduvaldocozzi.intranet.conf

ServerName mail.oduvaldocozzi.intranet
ServerAdmin postmaster@mail.oduvaldocozzi.intranet
Redirect "/" "https://mail.oduvaldocozzi.intranet;


content:  sslmail.oduvaldocozzi.intranet.conf

ServerName mail.oduvaldocozzi.intranet
DocumentRoot /usr/share/squirrelmail/
DirectoryIndex index.php
ServerAlias mail.oduvaldocozzi.intranet
Alias /squirrelmail  /usr/share/squirrelmail

SSLEngine On
SSLCertificateFile /etc/ssl/certs/mailssl.crt
SSLCertificateKeyFile /etc/ssl/private/mailssl.key

SSLRequireSSL On
SSLVerifyClient optional
SSLVerifyDepth 1
SSLOptions +StdEnvVars +StrictRequire



OFF: Modules Apache2 Loaded:
Loaded Modules:
 core_module (static)
 so_module (static)
 watchdog_module (static)
 http_module (static)
 log_config_module (static)
 logio_module (static)
 version_module (static)
 unixd_module (static)
 access_compat_module (shared)
 alias_module (shared)
 auth_basic_module (shared)
 authn_core_module (shared)
 authn_file_module (shared)
 authz_core_module (shared)
 authz_host_module (shared)
 authz_user_module (shared)
 autoindex_module (shared)
 deflate_module (shared)
 dir_module (shared)
 env_module (shared)
 filter_module (shared)
 mime_module (shared)
 mpm_prefork_module (shared)
 negotiation_module (shared)
 php5_module (shared)
 reqtimeout_module (shared)
 rewrite_module (shared)
 setenvif_module (shared)
 socache_shmcb_module (shared)
 ssl_module (shared)
 status_module (shared)

My enviroment work fine, send and received mail in my local network.
Thank you all.




2018-01-19 12:33 GMT-02:00 Rodrigo Cunha <rodrigo.root...@gmail.com>:

> Tks Michelle Konzack,
>
>
> *i see you configurations and setup my redirect from 80 to 443, and work.I
> send my configfile here.[]'s,*
>
>
> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail>
>  Livre
> de vírus. www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail>.
> <#m_6133440602864023886_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> 2018-01-19 9:11 GMT-02:00 Michelle Konzack <linux4miche...@tamay-dogan.net
> >:
>
>> Hello Rdrigo,
>>
>> I have a buch of Squirrelmail VHosts like
>> <https://webmail.tamay-dogan.net/>
>> running and it is a simple VHost.
>> I had not to change anything but simply setup a VHost in Apache2
>>
>> [ '/srv/APACHE_availlable/webmail.x-x.xxx' ]
>> 
>> ServerAdmin hostmas...@x.x-x.xxx
>> ServerName  webmail.x-x.xxx
>> Redirect/ https://webmail.x-x.xxx/
>> 
>>
>> 
>> ServerAdmin hostmas...@x.x-x.xxx
>> ServerName  webmail.x-x.xxx
>>
>> SSLCertificateFile /srv/CONFIG_webmail.x-x.xxx/ssl/cert.pem
>> SSLCertificateKeyFile /srv/CONFIG_webmail.x-
>> x.xxx/ssl/privkey.pem
>> SSLCertificateChainFile /srv/CONFIG_webmail.x-
>> x.xxx/ssl/chain.pem
>> Include /srv/APACHE_configs/SSL
>>
>> DocumentRoot/srv/CONFIG_webmail.x-x.xxx/htdocs
>>
>> Alias /squirrelmail /usr/share/squirrelmail
>>
>> 
>>   Options Indexes FollowSymLinks
>>   
>> php_flag register_globals off
>>   
>>   
>> DirectoryIndex index.php
>>   
>>
>>   
>> order deny,allow
>> deny from all
>>   
>> 
>>
>> 
>> Options FollowSymLinks Indexes
>> AllowOverride   None
>> 
>>
>> # debug, info, notice, warn, error, crit, alert, emerg.
>> LogLevelwarn
>> ErrorLog/srv/CONFIG_webmail.x-xxxxx.xxx/log/apache/error.log
>>
>> LogFormat   "%{[%Y-%m-%d %H:%M:%S %z]}t %h [%V] %l %u \"%r\" %>s %b
>> \"%{Referer}i\" \"%{User-Agent}i\"" vhost
>> CustomLog   /srv/CONFIG_webmail.x-x.xxx/log/apache/access.log
>> vhost
>>
>> ServerSignature  On
>> 
>> 
>>
>> This is JUST WORK

Re: [users@httpd] Setup SquirreMail with Virtual Host

2018-01-19 Thread Rodrigo Cunha
Tks Michelle Konzack,


*i see you configurations and setup my redirect from 80 to 443, and work.I
send my configfile here.[]'s,*

<https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail>
Livre
de vírus. www.avast.com
<https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail>.
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

2018-01-19 9:11 GMT-02:00 Michelle Konzack <linux4miche...@tamay-dogan.net>:

> Hello Rdrigo,
>
> I have a buch of Squirrelmail VHosts like
> <https://webmail.tamay-dogan.net/>
> running and it is a simple VHost.
> I had not to change anything but simply setup a VHost in Apache2
>
> [ '/srv/APACHE_availlable/webmail.x-x.xxx' ]
> 
> ServerAdmin hostmas...@x.x-x.xxx
> ServerName  webmail.x-x.xxx
> Redirect/ https://webmail.x-x.xxx/
> 
>
> 
> ServerAdmin hostmas...@x.x-x.xxx
> ServerName  webmail.x-x.xxx
>
> SSLCertificateFile /srv/CONFIG_webmail.x-x.xxx/ssl/cert.pem
> SSLCertificateKeyFile /srv/CONFIG_webmail.x-
> x.xxx/ssl/privkey.pem
> SSLCertificateChainFile /srv/CONFIG_webmail.x-
> x.xxx/ssl/chain.pem
> Include /srv/APACHE_configs/SSL
>
> DocumentRoot/srv/CONFIG_webmail.x-x.xxx/htdocs
>
> Alias /squirrelmail /usr/share/squirrelmail
>
> 
>   Options Indexes FollowSymLinks
>   
> php_flag register_globals off
>   
>   
> DirectoryIndex index.php
>   
>
>   
> order deny,allow
> deny from all
>   
> 
>
> 
> Options FollowSymLinks Indexes
> AllowOverride   None
> 
>
> # debug, info, notice, warn, error, crit, alert, emerg.
> LogLevelwarn
> ErrorLog/srv/CONFIG_webmail.x-x.xxx/log/apache/error.log
>
> LogFormat   "%{[%Y-%m-%d %H:%M:%S %z]}t %h [%V] %l %u \"%r\" %>s %b
> \"%{Referer}i\" \"%{User-Agent}i\"" vhost
> CustomLog   /srv/CONFIG_webmail.x-x.xxx/log/apache/access.log
> vhost
>
> ServerSignature  On
> 
> 
>
> This is JUST WORKING!
>
> Am 2018-01-19 hackte Rodrigo Cunha in die Tasten:
> > Dear, i have a problem in config vhost squirremail.
> > I'm following the steps in the tutorial [
> > http://www.100security.com.br/postfix-squirrelmail-outlook/] . The autor
> > indicate setup this changes in apache2.conf:
> >
> > Alias /webmail “/usr/share/squirrelmail/”
> > DirectoryIndex index.php
> >
> > but i want create vhost for my domain "mail.mydomain.com" and not create
> > redirect IP/webmail.I want config this mail with my other localwebsites
> > like:
> > /etc/apache2/site-available/mail.mydomain.conf  and setup this file with
> > a2ensite mail.mydomain.conf, etc.
> >
> > What is steps for configure my squirremail with vhost and not ip/webmail.
> > Tks.
> >
> >
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


Re: [users@httpd] Setup SquirreMail with Virtual Host

2018-01-18 Thread Rodrigo Cunha
Tks,
no solution worked. :(

<https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail>
Livre
de vírus. www.avast.com
<https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail>.
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

2018-01-18 13:37 GMT-02:00 Steffen <i...@apachelounge.com.invalid>:

>
>
> I have in Apache  my regular vhosts, nothing specific Squirrel in the
> Apache config.
>
> I have in config.php
>
>
> $domain = preg_replace("/^www\./i","",$_
> SERVER['SERVER_NAME']);
>
> And that does the trick here.
>
> Cheers,
>
> Steffen
>
>
>
> > Am 18.01.2018 um 15:57 schrieb Rodrigo Cunha <rodrigo.root...@gmail.com
> >:
>
>>
>> Dear, i have a problem in config vhost squirremail.
>> I'm following the steps in the tutorial \
>> [http://www.100security.com.br/postfix-squirrelmail-outlook/] . The
>> autor indicate \
>> setup this changes in apache2.conf:
>> Alias /webmail “/usr/share/squirrelmail/†DirectoryIndex index.php
>>
>> but i want create vhost for my domain "mail.mydomain.com" and not create
>> redirect IP/webmail.I want config this mail with my other localwebsites
>> like:
>> /etc/apache2/site-available/mail.mydomain.conf  and setup this file with
>> a2ensite mail.mydomain.conf, etc.
>>
>> What is steps for configure my squirremail with vhost and not ip/webmail.
>> Tks.
>>
>>
>> --
>> Atenciosamente,
>> Rodrigo da Silva Cunha
>> São Gonçalo, RJ - Brasil
>>
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


[users@httpd] Setup SquirreMail with Virtual Host

2018-01-18 Thread Rodrigo Cunha
Dear, i have a problem in config vhost squirremail.
I'm following the steps in the tutorial [
http://www.100security.com.br/postfix-squirrelmail-outlook/] . The autor
indicate setup this changes in apache2.conf:

Alias /webmail “/usr/share/squirrelmail/”
DirectoryIndex index.php

but i want create vhost for my domain "mail.mydomain.com" and not create
redirect IP/webmail.I want config this mail with my other localwebsites
like:
/etc/apache2/site-available/mail.mydomain.conf  and setup this file with
a2ensite mail.mydomain.conf, etc.

What is steps for configure my squirremail with vhost and not ip/webmail.
Tks.


-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil



Livre
de vírus. www.avast.com
.
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>


Re: [users@httpd] SFTP JAIL

2018-01-16 Thread Rodrigo Cunha
Tks, please how i closed or delete this topc?!

<https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail>
Livre
de vírus. www.avast.com
<https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail>.
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

2018-01-16 12:41 GMT-02:00 Darryl Philip Baker <
darryl.ba...@northwestern.edu>:

> Yes that may be true but that is an issue for the OpenSSH list since it is
> the SSH/SFTP client not for the Apache list.
>
>
>
> *Darryl Baker*
>
> Sr. System Administrator
>
> Distributed Application Platform Services
>
> *Northwestern University*
>
> 1800 Sherman Ave.
> <https://maps.google.com/?q=1800+Sherman+Ave.%0D+Suite+6=gmail=g>
>
> Suite 6
> <https://maps.google.com/?q=1800+Sherman+Ave.%0D+Suite+6=gmail=g>-600
> – Box #39
>
> Evanston, IL  60201-3715
>
> *darryl.ba...@northwestern.edu <darryl.ba...@northwestern.edu>*
>
> (847) 467-6674
>
>
>
> *From: *Rodrigo Cunha <rodrigo.root...@gmail.com>
> *Reply-To: *"users@httpd.apache.org" <users@httpd.apache.org>
> *Date: *Tuesday, January 16, 2018 at 8:37 AM
> *To: *"users@httpd.apache.org" <users@httpd.apache.org>
> *Subject: *Re: [users@httpd] SFTP JAIL
>
>
>
> Tks,
> but Jail is important for many apache users, in layer of security, when a
> user send files to remote server.
>
>
>
> [image: Image removed by sender.]
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.avast.com_sig-2Demail-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Dwebmail=DwMFaQ=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws=tdje61_VHSXp608oLofeaJnnzo2Sr9_Cdcp70bBEtQ8=8VQOQJwaqHsu9RD9a53hI5cc-qsTlO_q6vSCDWi6vrY=7dgbgg6an9yr83Adq07DN9Uc-pRhS3Wr1oqRz5BZPgM=>
>
> Livre de vírus. www.avast.com
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.avast.com_sig-2Demail-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Dwebmail=DwMFaQ=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws=tdje61_VHSXp608oLofeaJnnzo2Sr9_Cdcp70bBEtQ8=8VQOQJwaqHsu9RD9a53hI5cc-qsTlO_q6vSCDWi6vrY=7dgbgg6an9yr83Adq07DN9Uc-pRhS3Wr1oqRz5BZPgM=>.
>
>
>
>
> 2018-01-16 12:00 GMT-02:00 Luca Toscano <toscano.l...@gmail.com>:
>
> Hi Rodrigo,
>
>
>
> 2018-01-16 14:51 GMT+01:00 Rodrigo Cunha <rodrigo.root...@gmail.com>:
>
> Hi everyone,
>
> I have a problem with setup sftp access.My sftp user can't  jaule.
>
> I configure setup with this procedures:
> https://wiki.archlinux.org/index.php/SFTP_chroot
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.archlinux.org_index.php_SFTP-5Fchroot=DwMFaQ=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws=tdje61_VHSXp608oLofeaJnnzo2Sr9_Cdcp70bBEtQ8=8VQOQJwaqHsu9RD9a53hI5cc-qsTlO_q6vSCDWi6vrY=tlxjohIHFWSfDbDnW4nUjirvLR89kQZkt11sdxCJrSI=>
>
> But when i setup my user webmaster in group sftponly my client is not work.
>
>
> Any feedback would be greatly appreciated.Tks
>
>
>
> You have probably got the wrong list, this is for the Apache httpd
> webserver :)
>
>
>
> Luca
>
>
>
>
>
>
>
> --
>
> Atenciosamente,
> Rodrigo da Silva Cunha
>
> São Gonçalo, RJ - Brasil
>
>
>



-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


Re: [users@httpd] SFTP JAIL

2018-01-16 Thread Rodrigo Cunha
Tks,
but Jail is important for many apache users, in layer of security, when a
user send files to remote server.

<https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail>
Livre
de vírus. www.avast.com
<https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail>.
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

2018-01-16 12:00 GMT-02:00 Luca Toscano <toscano.l...@gmail.com>:

> Hi Rodrigo,
>
> 2018-01-16 14:51 GMT+01:00 Rodrigo Cunha <rodrigo.root...@gmail.com>:
>
>> Hi everyone,
>> I have a problem with setup sftp access.My sftp user can't  jaule.
>> I configure setup with this procedures:
>> https://wiki.archlinux.org/index.php/SFTP_chroot
>> But when i setup my user webmaster in group sftponly my client is not
>> work.
>>
>> Any feedback would be greatly appreciated.Tks
>>
>
> You have probably got the wrong list, this is for the Apache httpd
> webserver :)
>
> Luca
>
>


-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


[users@httpd] SFTP JAIL

2018-01-16 Thread Rodrigo Cunha
Hi everyone,
I have a problem with setup sftp access.My sftp user can't  jaule.
I configure setup with this procedures:
https://wiki.archlinux.org/index.php/SFTP_chroot
But when i setup my user webmaster in group sftponly my client is not work.

Any feedback would be greatly appreciated.Tks

-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil



Livre
de vírus. www.avast.com
.
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>


[users@httpd] test

2017-03-31 Thread Rodrigo Cunha
test

-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


Re: [users@httpd] Question about make openssl files

2017-02-23 Thread Rodrigo Cunha
sorry

2017-02-23 16:22 GMT-03:00 Yehuda Katz <yeh...@ymkatz.net>:

> Hi Rodrigo,
> This mailing list is for Apache HTTPD. If you have questions about
> OpenSSL, you should try an OpenSSL mailing list (
> https://www.openssl.org/community/mailinglists.html) or documentation (
> https://www.openssl.org/docs/manpages.html).
>
> To point you in the right direction though: you probably want to start
> with the req manpage: https://www.openssl.org/docs/man1.0.2/apps/req.html and
> read the information about setting attributes.
>
> - Y
>
> On Thu, Feb 23, 2017 at 1:58 PM, Rodrigo Cunha <rodrigo.root...@gmail.com>
> wrote:
>
>> Dears, a want know how i insert auto answers for questions from openssl
>> stdout.
>> I want knew how to bypass the extra attributes "password" options in my
>> csr settings.
>> my commands for make this files:
>> openssl req  -nodes -new -x509  -keyout aux.key -out aux.cert
>> openssl req -new -key aux.key -out aux.csr
>>
>> I want do answers for this questions:
>>
>> Country Name (2 letter code) [AU]: Indefinido
>> State or Province Name (full name) [ ]: Indefinido
>> Locality Name (eg, city) []:
>> Organization Name (eg, company) [Internet Widgits Pty Ltd]:Indefinido
>> Organizational Unit Name (eg, section) []:Indefinido
>> Common Name (e.g. server FQDN or YOUR name) []:Indefinido
>> Email Address []:Indefinido
>>
>> I dont answers password for this.
>>
>> --
>> Atenciosamente,
>> Rodrigo da Silva Cunha
>> São Gonçalo, RJ - Brasil
>>
>>
>>
>> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail>
>>  Livre
>> de vírus. www.avast.com
>> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail>.
>>
>> <#m_-2280936000779004583_m_4278783927997947723_m_6002865144250440756_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>
>


-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


[users@httpd] Question about make openssl files

2017-02-23 Thread Rodrigo Cunha
Dears, a want know how i insert auto answers for questions from openssl
stdout.
I want knew how to bypass the extra attributes "password" options in my csr
settings.
my commands for make this files:
openssl req  -nodes -new -x509  -keyout aux.key -out aux.cert
openssl req -new -key aux.key -out aux.csr

I want do answers for this questions:

Country Name (2 letter code) [AU]: Indefinido
State or Province Name (full name) [ ]: Indefinido
Locality Name (eg, city) []:
Organization Name (eg, company) [Internet Widgits Pty Ltd]:Indefinido
Organizational Unit Name (eg, section) []:Indefinido
Common Name (e.g. server FQDN or YOUR name) []:Indefinido
Email Address []:Indefinido

I dont answers password for this.

-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil



Livre
de vírus. www.avast.com
.
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>


[users@httpd] Webserver intranet https categorized for insecure for broesers.

2017-02-20 Thread Rodrigo Cunha
Dears, i make enviroment with keys and csr files setting in respective
directories for my websites work in https protocol.
my settings work fine, but in my browser i have alerts for insecure
websites.
i think with my local browser alert for not certificates valid but i dont
want pay for certificates valid in my local webserver.
how i setting my enviroment for not insecuret alert for my local webhosts?I

follow my config webhost:


ServerName www.wiki.oduvaldocozzi.intranet
DocumentRoot /opt/www/www.wiki.oduvaldocozzi.intranet/public_html
DirectoryIndex index.html index.php
ServerAlias wiki.oduvaldocozzi.intranet

SSLEngine On
SSLCertificateFile /etc/ssl/certs/wiki.crt
SSLCertificateKeyFile /etc/ssl/private/wiki.key

SSLRequireSSL On
SSLVerifyClient optional
SSLVerifyDepth 1
SSLOptions +StdEnvVars +StrictRequire




-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


Re: [users@httpd] Problem with migration between Https and CSS

2017-02-20 Thread Rodrigo Cunha
Tks man, i change the file  LocalSettings.php and mi system workfine.
The diretive:
from: $wgServer = "https://wiki.oduvaldocozzi.intranet;;
To: $wgServer = "https://wiki.oduvaldocozzi.intranet;;
tks man, this question is solved.

2017-02-20 6:16 GMT-03:00 Yann Ylavic <ylavic@gmail.com>:

> Hi,
>
> On Sat, Feb 18, 2017 at 8:41 PM, Rodrigo Cunha
> <rodrigo.root...@gmail.com> wrote:
> > Dears, i installing wikimedia in my enviroment in http protocol, but i
> want
> > setting this for https acess.
> > I do redirect for vhost01 (old http wiki) to vhost02(current https wiki)
> but
> > the display for my wiki not work.
>
> Looks like your application is generating absolute "http://;
> URLs/links, possibly it is configurable on its side (either preferably
> with relative "//" URLs, or absolute "https://; ones)?
>
>
> Regards,
> Yann.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


[users@httpd] Problem with migration between Https and CSS

2017-02-18 Thread Rodrigo Cunha
Dears, i installing wikimedia in my enviroment in http protocol, but i want
setting this for https acess.
I do redirect for vhost01 (old http wiki) to vhost02(current https wiki)
but the display for my wiki not work.

-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


Re: [users@httpd] redirect port from 80 to 443

2017-02-18 Thread Rodrigo Cunha
My redirect and my website is work in https port but my webserver not
display the styles maked in css.
Do you help-me?



2017-02-18 16:04 GMT-02:00 James Moe <ji...@sohnen-moe.com>:

> On 02/18/2017 05:08 AM, Rodrigo Cunha wrote:
> > i want redirect all request from port 80 to 443.
> > what is better setting for fix this?
> >
>   Better than what?
>   Fix? Is it broken?
>
> RewriteCond %{HTTP_HOST} =www.example.com
> RewriteCond %{SERVER_PORT} =80
> RewriteRule ^(.*)$ https://www.example.com/$1 [R]
>
> --
> James Moe
> moe dot james at sohnen-moe dot com
> 520.743.3936
> Think.
>
>


-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


[users@httpd] redirect port from 80 to 443

2017-02-18 Thread Rodrigo Cunha
Dears, i want redirect all request from port 80 to 443.
what is better setting for fix this?


-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


Re: [users@httpd] Apache rewrite for redirect local directoryes

2017-02-13 Thread Rodrigo Cunha
Tks Adan, i want test redirections in the config file or with modules.
sory, my question not specified.

2017-02-13 17:30 GMT-02:00 Rodrigo Cunha <rodrigo.root...@gmail.com>:

> I have a question.
> This redirect is possible with rewrite module?!
>
> 2017-02-13 17:29 GMT-02:00 Rodrigo Cunha <rodrigo.root...@gmail.com>:
>
>> tks 4 all...
>>
>> 2017-02-13 17:28 GMT-02:00 Adam R. Vest <adam.v...@vestfarms.com.invalid>
>> :
>>
>>> Change the virtualhosts document root?
>>>
>>>- https://httpd.apache.org/docs/2.4/mod/core.html#documentroot
>>>
>>>
>>> On 02/13/2017 02:00 PM, Rodrigo Cunha wrote:
>>>
>>> Dears,
>>> i need redirect the all requestions for my website to anoter directory.
>>> My directory is: /opt/www/curso.intranet/public_html
>>> The new directory is: /opt/www/curso.intranet/st1
>>> what is better solution for this problem?
>>>
>>> I want setting this in conf or in the .htaccess.
>>>
>>> --
>>> Atenciosamente,
>>> Rodrigo da Silva Cunha
>>> São Gonçalo, RJ - Brasil
>>>
>>>
>>>
>>
>>
>> --
>> Atenciosamente,
>> Rodrigo da Silva Cunha
>> São Gonçalo, RJ - Brasil
>>
>>
>
>
> --
> Atenciosamente,
> Rodrigo da Silva Cunha
> São Gonçalo, RJ - Brasil
>
>


-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


Re: [users@httpd] Apache rewrite for redirect local directoryes

2017-02-13 Thread Rodrigo Cunha
I have a question.
This redirect is possible with rewrite module?!

2017-02-13 17:29 GMT-02:00 Rodrigo Cunha <rodrigo.root...@gmail.com>:

> tks 4 all...
>
> 2017-02-13 17:28 GMT-02:00 Adam R. Vest <adam.v...@vestfarms.com.invalid>:
>
>> Change the virtualhosts document root?
>>
>>- https://httpd.apache.org/docs/2.4/mod/core.html#documentroot
>>
>>
>> On 02/13/2017 02:00 PM, Rodrigo Cunha wrote:
>>
>> Dears,
>> i need redirect the all requestions for my website to anoter directory.
>> My directory is: /opt/www/curso.intranet/public_html
>> The new directory is: /opt/www/curso.intranet/st1
>> what is better solution for this problem?
>>
>> I want setting this in conf or in the .htaccess.
>>
>> --
>> Atenciosamente,
>> Rodrigo da Silva Cunha
>> São Gonçalo, RJ - Brasil
>>
>>
>>
>
>
> --
> Atenciosamente,
> Rodrigo da Silva Cunha
> São Gonçalo, RJ - Brasil
>
>


-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


Re: [users@httpd] Apache rewrite for redirect local directoryes

2017-02-13 Thread Rodrigo Cunha
tks 4 all...

2017-02-13 17:28 GMT-02:00 Adam R. Vest <adam.v...@vestfarms.com.invalid>:

> Change the virtualhosts document root?
>
>- https://httpd.apache.org/docs/2.4/mod/core.html#documentroot
>
>
> On 02/13/2017 02:00 PM, Rodrigo Cunha wrote:
>
> Dears,
> i need redirect the all requestions for my website to anoter directory.
> My directory is: /opt/www/curso.intranet/public_html
> The new directory is: /opt/www/curso.intranet/st1
> what is better solution for this problem?
>
> I want setting this in conf or in the .htaccess.
>
> --
> Atenciosamente,
> Rodrigo da Silva Cunha
> São Gonçalo, RJ - Brasil
>
>
>


-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


[users@httpd] Apache rewrite for redirect local directoryes

2017-02-13 Thread Rodrigo Cunha
Dears,
i need redirect the all requestions for my website to anoter directory.
My directory is: /opt/www/curso.intranet/public_html
The new directory is: /opt/www/curso.intranet/st1
what is better solution for this problem?

I want setting this in conf or in the .htaccess.

-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


Re: [users@httpd] Re: Compile php5 for apache2.4 error APXS

2016-12-30 Thread Rodrigo Cunha
my file to be here:
root@nginx:/usr/local/httpd-2.4.23.php5# pwd
/usr/local/httpd-2.4.23.php5
root@nginx:/usr/local/httpd-2.4.23.php5# find . -iname '*httpd.h*'
./include/httpd.h
root@nginx:/usr/local/httpd-2.4.23.php5#

2016-12-30 11:50 GMT-02:00 Richard <lists-apa...@listmail.innovate.net>:

>
>
> > Date: Friday, December 30, 2016 11:00:13 -0200
> > From: Rodrigo Cunha <rodrigo.root...@gmail.com>
> >
> >> Dears, help me please.
> >> I have httpd.2.4 compiled in my enviroment and i want compile too
> >> php5.6 for test.
> >> but my ./configure strout displeyed error to apxs version, in
> >> stdout i see  error before my
> >> php search for apache1 apx and my apx is apache2
> >> below my commands in terminal and stdout:
> >>
> >> ./configure --with-apache=/usr/local/httpd-2.4.23.php5/
> >> --with-apxs2=/usr/local/httpd-2.4.23.php5/bin/apxs --with-mysql
> >>
> >> Configuring SAPI modules
> >> checking for AOLserver support... no
> >> checking for Apache 1.x module support via DSO through APXS... no
> >> checking for Apache 1.x module support... no
> >> configure: error: Invalid Apache directory - unable to find
> >> httpd.h under /usr/local/httpd-2.4.23.php5/
> >>
> >> root@nginx:/usr/local/src/php-5.6.29# apachectl -v
> >> Server version: Apache/2.4.23 (Unix)
> >> Server built:   Dec 22 2016 13:02:12
> >> root@nginx:/usr/local/src/php-5.6.29#
> >>
> >> PS: I compiled the php7 for this apache and i not have error in
> >> this step. --
> >> Atenciosamente,
> >> Rodrigo da Silva Cunha
> >> São Gonçalo, RJ - Brasil
> >>
>
> Given that it couldn't find "httpd.h" in the location you gave:
>
>configure: error: Invalid Apache directory - unable to
>find httpd.h under /usr/local/httpd-2.4.23.php5/
>
> I'd start by looking for that file on your system and go from there.
>
>
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


[users@httpd] Re: Compile php5 for apache2.4 error APXS

2016-12-30 Thread Rodrigo Cunha
?

2016-12-29 12:02 GMT-02:00 Rodrigo Cunha <rodrigo.root...@gmail.com>:

> Dears, help me please.
> I have httpd.2.4 compiled in my enviroment and i want compile too php5.6
> for test.
> but my ./configure strout displeyed error to apxs version, in stdout i
> see  error before my
> php search for apache1 apx and my apx is apache2
> below my commands in terminal and stdout:
>
> ./configure --with-apache=/usr/local/httpd-2.4.23.php5/
> --with-apxs2=/usr/local/httpd-2.4.23.php5/bin/apxs --with-mysql
>
> Configuring SAPI modules
> checking for AOLserver support... no
> checking for Apache 1.x module support via DSO through APXS... no
> checking for Apache 1.x module support... no
> configure: error: Invalid Apache directory - unable to find httpd.h under
> /usr/local/httpd-2.4.23.php5/
>
> root@nginx:/usr/local/src/php-5.6.29# apachectl -v
> Server version: Apache/2.4.23 (Unix)
> Server built:   Dec 22 2016 13:02:12
> root@nginx:/usr/local/src/php-5.6.29#
>
> PS: I compiled the php7 for this apache and i not have error in this step.
> --
> Atenciosamente,
> Rodrigo da Silva Cunha
> São Gonçalo, RJ - Brasil
>
>


-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


[users@httpd] Compile php5 for apache2.4 error APXS

2016-12-29 Thread Rodrigo Cunha
Dears, help me please.
I have httpd.2.4 compiled in my enviroment and i want compile too php5.6
for test.
but my ./configure strout displeyed error to apxs version, in stdout i see
error before my
php search for apache1 apx and my apx is apache2
below my commands in terminal and stdout:

./configure --with-apache=/usr/local/httpd-2.4.23.php5/
--with-apxs2=/usr/local/httpd-2.4.23.php5/bin/apxs --with-mysql

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
configure: error: Invalid Apache directory - unable to find httpd.h under
/usr/local/httpd-2.4.23.php5/

root@nginx:/usr/local/src/php-5.6.29# apachectl -v
Server version: Apache/2.4.23 (Unix)
Server built:   Dec 22 2016 13:02:12
root@nginx:/usr/local/src/php-5.6.29#

PS: I compiled the php7 for this apache and i not have error in this step.
-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


Re: [users@httpd] Problems with compile httpd-2.4.23 and php-7.1.0

2016-12-22 Thread Rodrigo Cunha
Dears, my phpmyadmin is work fine, i set configure:
./configure --with-apache=/usr/local/httpd-2.4.23
--with-apxs2=/usr/local/httpd-2.4.23/bin/apxs --with-mysql
--enable-mbstring --with-mysqli=/usr/bin/mysql_config

i installing this lib: apt-get install libmysqlclient-dev

my repositories:

root@nginx:/opt/www/www.phpmyadmin.lab.intranet# cat /etc/apt/sources.list
#

# deb cdrom:[Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 NETINST
Binary-1 20160917-14:20]/ jessie main

#deb cdrom:[Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 NETINST
Binary-1 20160917-14:20]/ jessie main

deb http://ftp.br.debian.org/debian/ jessie main
deb-src http://ftp.br.debian.org/debian/ jessie main

deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main

# jessie-updates, previously known as 'volatile'
deb http://ftp.br.debian.org/debian/ jessie-updates main
deb-src http://ftp.br.debian.org/debian/ jessie-updates main

my policy check:
root@nginx:/opt/www/www.phpmyadmin.lab.intranet# apt-cache policy
libmysqlclient-dev
libmysqlclient-dev:
  Instalado: 5.5.53-0+deb8u1
  Candidato: 5.5.53-0+deb8u1
  Tabela de versão:
 *** 5.5.53-0+deb8u1 0
500 http://security.debian.org/ jessie/updates/main amd64 Packages
100 /var/lib/dpkg/status
 5.5.50-0+deb8u1 0
500 http://ftp.br.debian.org/debian/ jessie/main amd64 Packages
root@nginx:/opt/www/www.phpmyadmin.lab.intranet#

tks!!


2016-12-22 15:08 GMT-02:00 Rodrigo Cunha <rodrigo.root...@gmail.com>:

> Dears, my module is load in the apache:
>
> root@nginx:/home/rcunha# apachectl -M
> Loaded Modules:
>  core_module (static)
>  so_module (static)
>  http_module (static)
>  mpm_event_module (static)
>  authn_file_module (shared)
>  authn_core_module (shared)
>  authz_host_module (shared)
>  authz_groupfile_module (shared)
>  authz_user_module (shared)
>  authz_core_module (shared)
>  access_compat_module (shared)
>  auth_basic_module (shared)
>  reqtimeout_module (shared)
>  filter_module (shared)
>  mime_module (shared)
>  log_config_module (shared)
>  env_module (shared)
>  headers_module (shared)
>  setenvif_module (shared)
>  version_module (shared)
>  unixd_module (shared)
>  status_module (shared)
>  autoindex_module (shared)
>  dir_module (shared)
>  alias_module (shared)
>  php7_module (shared)
> root@nginx:/home/rcunha#
>
>
> 2016-12-22 12:08 GMT-02:00 Rodrigo Cunha <rodrigo.root...@gmail.com>:
>
>> how i compile this extension and load in my enviroment?
>>
>> 2016-12-22 7:00 GMT-02:00 Daniel <dferra...@gmail.com>:
>>
>>> It refers to mysql extension for php not your mysql server.
>>>
>>> El 22 dic. 2016 2:58 a. m., "Rodrigo Cunha" <rodrigo.root...@gmail.com>
>>> escribió:
>>>
>>>> Dears,
>>>> i'm install apache service from source httpd-2.4.23.tar.gz with php7;
>>>> from
>>>> php-7.1.0.tar.gz, but my phpmyadmin not work in the system and display
>>>> the message:
>>>> The *mysqli|mysql*
>>>> <http://rat2.oduvaldocozzi.intranet/url.php?url=http%3A%2F%2Fphp.net%2Fmanual%2Fen%2Fbook.mysqli%7Cmysql.php>
>>>> extension is missing. Please check your PHP configuration. See our
>>>> documentation
>>>> <http://rat2.oduvaldocozzi.intranet/doc/html/faq.html#faqmysql> for
>>>> more information.
>>>>
>>>> my mysql it is work.
>>>>
>>>> Somebody help me
>>>>
>>>>
>>>>
>>>> --
>>>> Atenciosamente,
>>>> Rodrigo da Silva Cunha
>>>> São Gonçalo, RJ - Brasil
>>>>
>>>>
>>
>>
>> --
>> Atenciosamente,
>> Rodrigo da Silva Cunha
>> São Gonçalo, RJ - Brasil
>>
>>
>
>
> --
> Atenciosamente,
> Rodrigo da Silva Cunha
> São Gonçalo, RJ - Brasil
>
>


-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


Re: [users@httpd] Problems with compile httpd-2.4.23 and php-7.1.0

2016-12-22 Thread Rodrigo Cunha
Dears, my module is load in the apache:

root@nginx:/home/rcunha# apachectl -M
Loaded Modules:
 core_module (static)
 so_module (static)
 http_module (static)
 mpm_event_module (static)
 authn_file_module (shared)
 authn_core_module (shared)
 authz_host_module (shared)
 authz_groupfile_module (shared)
 authz_user_module (shared)
 authz_core_module (shared)
 access_compat_module (shared)
 auth_basic_module (shared)
 reqtimeout_module (shared)
 filter_module (shared)
 mime_module (shared)
 log_config_module (shared)
 env_module (shared)
 headers_module (shared)
 setenvif_module (shared)
 version_module (shared)
 unixd_module (shared)
 status_module (shared)
 autoindex_module (shared)
 dir_module (shared)
 alias_module (shared)
 php7_module (shared)
root@nginx:/home/rcunha#


2016-12-22 12:08 GMT-02:00 Rodrigo Cunha <rodrigo.root...@gmail.com>:

> how i compile this extension and load in my enviroment?
>
> 2016-12-22 7:00 GMT-02:00 Daniel <dferra...@gmail.com>:
>
>> It refers to mysql extension for php not your mysql server.
>>
>> El 22 dic. 2016 2:58 a. m., "Rodrigo Cunha" <rodrigo.root...@gmail.com>
>> escribió:
>>
>>> Dears,
>>> i'm install apache service from source httpd-2.4.23.tar.gz with php7;
>>> from
>>> php-7.1.0.tar.gz, but my phpmyadmin not work in the system and display
>>> the message:
>>> The *mysqli|mysql*
>>> <http://rat2.oduvaldocozzi.intranet/url.php?url=http%3A%2F%2Fphp.net%2Fmanual%2Fen%2Fbook.mysqli%7Cmysql.php>
>>> extension is missing. Please check your PHP configuration. See our
>>> documentation
>>> <http://rat2.oduvaldocozzi.intranet/doc/html/faq.html#faqmysql> for
>>> more information.
>>>
>>> my mysql it is work.
>>>
>>> Somebody help me
>>>
>>>
>>>
>>> --
>>> Atenciosamente,
>>> Rodrigo da Silva Cunha
>>> São Gonçalo, RJ - Brasil
>>>
>>>
>
>
> --
> Atenciosamente,
> Rodrigo da Silva Cunha
> São Gonçalo, RJ - Brasil
>
>


-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


Re: [users@httpd] Problems with compile httpd-2.4.23 and php-7.1.0

2016-12-22 Thread Rodrigo Cunha
how i compile this extension and load in my enviroment?

2016-12-22 7:00 GMT-02:00 Daniel <dferra...@gmail.com>:

> It refers to mysql extension for php not your mysql server.
>
> El 22 dic. 2016 2:58 a. m., "Rodrigo Cunha" <rodrigo.root...@gmail.com>
> escribió:
>
>> Dears,
>> i'm install apache service from source httpd-2.4.23.tar.gz with php7;
>> from
>> php-7.1.0.tar.gz, but my phpmyadmin not work in the system and display
>> the message:
>> The *mysqli|mysql*
>> <http://rat2.oduvaldocozzi.intranet/url.php?url=http%3A%2F%2Fphp.net%2Fmanual%2Fen%2Fbook.mysqli%7Cmysql.php>
>> extension is missing. Please check your PHP configuration. See our
>> documentation
>> <http://rat2.oduvaldocozzi.intranet/doc/html/faq.html#faqmysql> for more
>> information.
>>
>> my mysql it is work.
>>
>> Somebody help me
>>
>>
>>
>> --
>> Atenciosamente,
>> Rodrigo da Silva Cunha
>> São Gonçalo, RJ - Brasil
>>
>>


-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


[users@httpd] Problems with compile httpd-2.4.23 and php-7.1.0

2016-12-21 Thread Rodrigo Cunha
Dears,
i'm install apache service from source httpd-2.4.23.tar.gz with php7; from
php-7.1.0.tar.gz, but my phpmyadmin not work in the system and display the
message:
The *mysqli|mysql*

extension is missing. Please check your PHP configuration. See our
documentation
 for more
information.

my mysql it is work.

Somebody help me



-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


Re: [users@httpd] problem compiling apache

2016-09-22 Thread Rodrigo Cunha
Step-by-step, my troubleshoting...rs
Check what comand your use for instaling this openssl
$history |grep -i openssl
$openssl --version
try apt-get remove openssl --purge or other package referal a this
instalation.
Step 2 The search packages ins repository

$sudo apt-cache policy apache2
$sudo apt-cache policy openssl

###My outputs:##

$LC_MESSAGES=C sudo apt-cache policy apache2
apache2:
  Installed: 2.4.7-1ubuntu4.9
  Candidate: 2.4.7-1ubuntu4.13
  Version table:
 2.4.7-1ubuntu4.13 0
500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64
Packages
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64
Packages
 *** 2.4.7-1ubuntu4.9 0
100 /var/lib/dpkg/status
 2.4.7-1ubuntu4 0
500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
casa-PC ~ $LC_MESSAGES=C sudo apt-cache policy openssl
openssl:
  Installed: 1.0.1f-1ubuntu2.18
  Candidate: 1.0.1f-1ubuntu2.19
  Version table:
 1.0.1f-1ubuntu2.19 0
500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64
Packages
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64
Packages
 *** 1.0.1f-1ubuntu2.18 0
100 /var/lib/dpkg/status
 1.0.1f-1ubuntu2 0
500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
casa-PC ~ $

this comands displayed the packages avaliable in your repositoryes, you
have a set repository wich openssl >1.0.2 version.

for set the repository, make:
apt-get install -t trusty-security apache2=2.4.7-1ubuntu4.13

if your system is centos, i think a yum have this comands.

try, and report please
:)

2016-09-22 11:19 GMT-03:00 Daniel <dferra...@gmail.com>:

> try issuing "make clean" before trying to ./configure and make again.
>
> 2016-09-22 10:37 GMT+02:00 Pavol Eisenberg <pavol.eisenb...@gmail.com>:
>
>> many thanks, do you have any idea how to revert the situation ? I've
>> reinstalled openssl libs to 1.0.2 but the problem remain. Seems like some
>> libs was linked staticaly when openssl 1.1.0 was compiled. Can you guess
>> what should be the best possible way to get rid of this problem ?
>>
>>
>>
>> On Wed, Sep 21, 2016 at 8:54 PM, Daniel <dferra...@gmail.com> wrote:
>>
>>> AFAIK httpd 2.4.x branch is not compatible with  Openssl 1.1.0 yet, as
>>> that openssl version has just been released and many things have changed.
>>> In fact I recall when httpd 2.4.23 was released openssl 1.1.0 was still beta
>>>
>>> 2016-09-21 17:47 GMT+02:00 Rodrigo Cunha <rodrigo.root...@gmail.com>:
>>>
>>>> Try get http source code(tarball) from you repository, thys
>>>> compilations They were probably tested by sysadmins operating system.
>>>> In output from you make, this problem probably is a erro in string
>>>> from function main in the source code.
>>>> aparantemente ele não está nomeando o caminho correto dos binarios,
>>>> algo sobre referencias
>>>>
>>>> ab.o: In function `main':
>>>> ab.c:(.text+0x62a8): undefined reference to `SSLv2_client_method'
>>>> ab.c:(.text+0x653c): undefined reference to `CRYPTO_malloc_init'
>>>> collect2: error: ld returned 1 exit status
>>>> Makefile:73: recipe for target 'ab' failed
>>>> make[2]: *** [ab] Error 1
>>>>
>>>>
>>>> -text Translated by google translate;
>>>> "Apparently he is not naming the correct path of the binary, something
>>>> about the main function.
>>>> It does not seem compatibility error, just some binary the ssl is the
>>>> path or a different string of entered in binary.
>>>> It is possible that the ./configure to set the path of your new ssl.
>>>> error seems the main function of the settings.
>>>> Look:
>>>> Makefile: 73: recipe for target 'ab' failed
>>>> target ab failed; "
>>>>
>>>> -Texto traduzido pelo google translate; Original em portugues do Brasil.
>>>> "aparentemente ele não está nomeando o caminho correto dos binarios,
>>>> algo sobre a função main.
>>>> Não parece erro de compatibilidade, apenas algum binario do ssl está
>>>> com o caminho ou com uma string diferente das inseridas no binario.
>>>> É possivel que no ./configure de para setar o caminho do seu novo ssl.
>>>> parece erro da função main sobre as definições.
>>>> veja:
>>>> Makefile:73: recipe for target 'ab' failed
>>>> target ab failed;"
>>>>
>>>> 2016-09-20 16:23 GMT-03:00 Pavol Eisenberg <pavol.eisenb...@gmail.com>:
>>>>
>>>>

Re: [users@httpd] problem compiling apache

2016-09-21 Thread Rodrigo Cunha
Try get http source code(tarball) from you repository, thys compilations They
were probably tested by sysadmins operating system.
In output from you make, this problem probably is a erro in string from
function main in the source code.
aparantemente ele não está nomeando o caminho correto dos binarios, algo
sobre referencias

ab.o: In function `main':
ab.c:(.text+0x62a8): undefined reference to `SSLv2_client_method'
ab.c:(.text+0x653c): undefined reference to `CRYPTO_malloc_init'
collect2: error: ld returned 1 exit status
Makefile:73: recipe for target 'ab' failed
make[2]: *** [ab] Error 1


-text Translated by google translate;
"Apparently he is not naming the correct path of the binary, something
about the
main function.
It does not seem compatibility error, just some binary the ssl is the path or
a different string of entered in binary.
It is possible that the ./configure to set the path of your new ssl.
error seems the main function of the settings.
Look:
Makefile: 73: recipe for target 'ab' failed
target ab failed; "

-Texto traduzido pelo google translate; Original em portugues do Brasil.
"aparentemente ele não está nomeando o caminho correto dos binarios, algo
sobre a função main.
Não parece erro de compatibilidade, apenas algum binario do ssl está com o
caminho ou com uma string diferente das inseridas no binario.
É possivel que no ./configure de para setar o caminho do seu novo ssl.
parece erro da função main sobre as definições.
veja:
Makefile:73: recipe for target 'ab' failed
target ab failed;"

2016-09-20 16:23 GMT-03:00 Pavol Eisenberg :

> httpd-2.4.20
> httpd-2.4.23
>
> I tried also with compiled apr-1.5.2 and aprutil apr-util-1.5.4 but that
> also not help. Any advise ?
>
> On Tue, Sep 20, 2016 at 9:16 PM, Christopher Schultz <
> ch...@christopherschultz.net> wrote:
>
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA256
>>
>> Pavol,
>>
>> On 9/20/16 3:07 PM, Pavol Eisenberg wrote:
>> > Hello
>> >
>> > After I've tried to upgrade my openssl 1.0.2 (ubuntu default) to
>> > Openssl 1.1.0 I cannot compile apache with ssl anymore.I also
>> > reverse to openssl 1.0.2 but the problem still remain.
>> >
>> > Can someone point me how to fix this to have working ssl with
>> > apache ?
>> >
>> > Here is my current compile output :
>> >
>> >
>> > /usr/share/apr-1.0/build/libtool --silent --mode=link
>> > x86_64-linux-gnu-gcc  -pthread   -L/usr/local/lib -lssl -lcrypto
>> > \ -o ab  ab.lo   /usr/lib/x86_64-linux-gnu/libaprutil-1.la
>> >  /usr/lib/x86_64-linux-gnu/libapr-1.la
>> >  -lm ab.o: In function `main':
>> > ab.c:(.text+0x62a8): undefined reference to `SSLv2_client_method'
>> > ab.c:(.text+0x653c): undefined reference to `CRYPTO_malloc_init'
>> > collect2: error: ld returned 1 exit status Makefile:73: recipe for
>> > target 'ab' failed make[2]: *** [ab] Error 1
>> >
>> > many thanks for help
>>
>> httpd source version?
>>
>> - -chris
>> -BEGIN PGP SIGNATURE-
>> Comment: GPGTools - http://gpgtools.org
>> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>>
>> iQIcBAEBCAAGBQJX4Yr8AAoJEBzwKT+lPKRYn/kQAIctRZy+WykFxc2oGVFzHyWu
>> PYFHp2zYlex0RornTV7SbAtvNAn9c6OajUHxHVpOT4Hg4V42VqA/SwvxlTzUPYIm
>> QuUqml3/uEi/ue0mn/ziCCcfs8jm94H4Wz9jakHD2Mw/TzpiFyhGu1XfXoqNgpxd
>> vALzIyejcwhHCoXIpjZe4ivCUZZ5WIIqnGLoiOcOOkprvT2TsSLlRyTXhbMOjWpt
>> tm+FmtoFPiFo721Jp+R5/S/S/7+zhaqfzKXYGqnhfBboEhFhugZF1qbdHP9sflCF
>> p5sOe22s+IiuIuQ1sIZFVtrG0WCGjdY82UB6NEs3+S7CQXBz0D1JAr7xkIZzQhWm
>> c1fN8mQEO/VzMNysvWyk3NlVUmkPTxX/8dETkxjCb6VWRnr5s/DPw1HFoh5Ps27e
>> oCHi95sLDXMheUMjCWJ4OyWh/95JU8fCjfOytdyddhFnPHVamANWS6CPVPtModMU
>> JJSfyBRKVURtN2pemAEq8tBg8prBH1VnLKCehb+yDBU/8yDuCqpBm3xAHciDjMoH
>> WMqHs8BfMbB0QKAKOpSGjbBvfyW0TTUqEJPzTuSJYTvYdwcOt22rlyBW81qw7nZk
>> IoyByEk90lfiiElNaBuhI95lFTU+ZejzekJQz+Ro0ZMS3pP29NLjdfxqMNOAG4fI
>> XbgGozBpggqp/Jx/OJbj
>> =/B6C
>> -END PGP SIGNATURE-
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>> For additional commands, e-mail: users-h...@httpd.apache.org
>>
>>
>


-- 
Atenciosamente,
Rodrigo da Silva Cunha


Re: [users@httpd] New virtual host not working [wd-vc]

2016-09-21 Thread Rodrigo Cunha
post you DNS configuration tolocalshow.com  and   www.localshow.com,
you DNS.
Test in my enviroment step by step.

STEP 1 : execute a comands ping or host the domain www.localshow.com or
www.localshow.com
in comand line:
$host www.localshow.com
www.localshow.com has address 207.148.248.143
$ping www.localshow.com
PING www.localshow.com (207.148.248.143) 56(84) bytes of data.
64 bytes from 207.148.248.143: icmp_seq=1 ttl=47 time=153 ms

Question:  this ip 207.148.248.143 is you ip host?!

STEP2
i exec comand in my enviroment:
$ dig NS ping www.localshow.com
output:
;; ANSWER SECTION:
ping.21451INNSns2.dns.nic.ping.
ping.21451INNSns5.dns.nic.ping.
ping.21451INNSns3.dns.nic.ping.
ping.21451INNSns1.dns.nic.ping.
ping.21451INNSns6.dns.nic.ping.
ping.21451INNSns4.dns.nic.ping.
...

;; QUESTION SECTION:
;www.localshow.com.INNS

;; AUTHORITY SECTION:
com.299INSOAns.buydomains.com.
hostmaster.buydomains.com. 115002911 86400 7200 604800 300
Question 1:
this dns ns2.dns.nic.ping. and others is your dns...i think this dns is
wrong order ,check this, the normal order this ns1.dns.nic.ping first and
not ns2.dns.nic.ping;
Question 1:
What is this AUTHORITY SECTION: ns.buydomains.com, the string "buydomains"
like website from market domains free.

my sorry for my bad write in english, i'm from brazil and not know full
grammatical english

2016-09-21 4:33 GMT-03:00 Roparzh Hemon :

> You are absolutely correct. I changed the name to something more
> unusual and it works now. Thank you
>
> On Wed, Sep 21, 2016 at 9:19 AM, Bremser, Kurt (AMOS Austria GmbH)
>  wrote:
> > It might be that the "outside" DNS takes precedence over your hosts
> file. Your other names might not have an equivalent in the net, but your
> new domain has, and is therefore served from the DNS.
> >
> > In AIX, that order is configured in /etc/netsvc.conf, where "local" must
> be before "bind" so that the hosts file is evaluated first.
> >
> > HTH,
> > Kurt Bremser
> > AMOS Austria
> >
> > Newton was wrong. There is no gravity. The Earth sucks.
> > 
> > Von: Roparzh Hemon [roparzhhe...@gmail.com]
> > Gesendet: Mittwoch, 21. September 2016 08:40
> > An: users@httpd.apache.org
> > Betreff: [users@httpd] New virtual host not working [wd-vc]
> >
> > I have several working virtual hosts on my Mac. Recently, I tried
> > to create yet another one by copy-pasting what I did for the others,
> > but to my surprise the new site doesn't work.
> >
> > What I did :
> >
> >   In /private/etc/hosts, insert the line
> >
> >   127.0.0.1 localshow.com www.localshow.com
> >
> >   In /private/etc/apache2/extra/httpd-vhosts.conf, insert the paragraph
> >
> > 
> > ServerName localshow.com
> > ServerAlias www.localshow.com
> > DocumentRoot "/Users/myusernamehere/Documents/Sites/Show"
> > ErrorLog "/private/var/log/apache2/localshow.com-error_log"
> > CustomLog "/private/var/log/apache2/localshow.com-access_log" common
> > ServerAdmin w...@coolestguidesontheplanet.com
> > LoadModule php5_module /usr/libexec/apache2/libphp5.so
> > 
> > Require all granted
> > DirectoryIndex index.php
> > 
> > 
> >
> >But when I type www.localshow.com in my browser, the URL is not
> recognized
> > and I get redirected to a domain seller website.
> >The /private/var/log/apache2/localshow.com-error_log and
> >   /private/var/log/apache2/localshow.com-access_log are empty.
> >
> > What did I do wrong ?
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> > For additional commands, e-mail: users-h...@httpd.apache.org
> >
> >
> >
> > AMOS Austria GmbH
> > 1130 Wien, Hietzinger Kai 101-105
> > FN 365014k, Handelsgericht Wien
> > UID: ATU 66614737
> >
> > http://www.allianz.at
> >
> > 
> > Dieses E-Mail und allfaellig daran angeschlossene Anhaenge
> > enthalten Informationen, die vertraulich und
> > ausschliesslich fuer den (die) bezeichneten Adressaten
> > bestimmt sind.
> > Wenn Sie nicht der genannte Adressat sind, darf dieses
> > E-Mail samt allfaelliger Anhaenge von Ihnen weder anderen
> > Personen zugaenglich gemacht noch in anderer Weise
> > verwertet werden.
> > Wenn Sie nicht der beabsichtigte Empfaenger sind, bitten
> > wir Sie, dieses E-Mail und saemtliche angeschlossene
> > Anhaenge zu loeschen.
> >
> > Please note: This email and any files transmitted with it is
> > intended only for the named recipients and may contain
> > confidential and/or privileged information. If you are not the
> > intended recipient, please do not read, copy, use or disclose
> > the contents of this communication to others and notify the
> > sender immediately. Then 

Re: [users@httpd] New virtual host not working

2016-09-21 Thread Rodrigo Cunha
post you DNS configuration tolocalshow.com  and   www.localshow.com,
you DNS.
Test in my enviroment step by step.

STEP 1 : execute a comands ping or host the domain www.localshow.com or
www.localshow.com
in comand line:
$host www.localshow.com
www.localshow.com has address 207.148.248.143
$ping www.localshow.com
PING www.localshow.com (207.148.248.143) 56(84) bytes of data.
64 bytes from 207.148.248.143: icmp_seq=1 ttl=47 time=153 ms

Question:  this ip 207.148.248.143 is you ip host?!

STEP2
i exec comand in my enviroment:
$ dig NS ping www.localshow.com
output:
;; ANSWER SECTION:
ping.21451INNSns2.dns.nic.ping.
ping.21451INNSns5.dns.nic.ping.
ping.21451INNSns3.dns.nic.ping.
ping.21451INNSns1.dns.nic.ping.
ping.21451INNSns6.dns.nic.ping.
ping.21451INNSns4.dns.nic.ping.
...

;; QUESTION SECTION:
;www.localshow.com.INNS

;; AUTHORITY SECTION:
com.299INSOAns.buydomains.com.
hostmaster.buydomains.com. 115002911 86400 7200 604800 300
Question 1:
this dns ns2.dns.nic.ping. and others is your dns...i think this dns is
wrong order ,check this, the normal order this ns1.dns.nic.ping first and
not ns2.dns.nic.ping;
Question 1:
What is this AUTHORITY SECTION: ns.buydomains.com, the string "buydomains"
like website from market domains free.

my sorry for my bad write in english, i'm from brazil and not know full
grammatical english


2016-09-21 3:40 GMT-03:00 Roparzh Hemon :

> I have several working virtual hosts on my Mac. Recently, I tried
> to create yet another one by copy-pasting what I did for the others,
> but to my surprise the new site doesn't work.
>
> What I did :
>
>   In /private/etc/hosts, insert the line
>
>   127.0.0.1 localshow.com www.localshow.com
>
>   In /private/etc/apache2/extra/httpd-vhosts.conf, insert the paragraph
>
> 
> ServerName localshow.com
> ServerAlias www.localshow.com
> DocumentRoot "/Users/myusernamehere/Documents/Sites/Show"
> ErrorLog "/private/var/log/apache2/localshow.com-error_log"
> CustomLog "/private/var/log/apache2/localshow.com-access_log" common
> ServerAdmin w...@coolestguidesontheplanet.com
> LoadModule php5_module /usr/libexec/apache2/libphp5.so
> 
> Require all granted
> DirectoryIndex index.php
> 
> 
>
>But when I type www.localshow.com in my browser, the URL is not
> recognized
> and I get redirected to a domain seller website.
>The /private/var/log/apache2/localshow.com-error_log and
>   /private/var/log/apache2/localshow.com-access_log are empty.
>
> What did I do wrong ?
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


-- 
Atenciosamente,
Rodrigo da Silva Cunha


Re: [users@httpd] ap_log_error dumps on apache start with apache 2.4

2016-09-19 Thread Rodrigo Cunha
Megha, you knew this list :  modules-dev-h...@httpd.apache.org
list for developers for get help whith modules, this place(users) not have
many developers, but in the modules-dev-h...@httpd.apache.org a have many
developers.
I get lists in website : http://httpd.apache.org/lists.html
tks

2016-09-19 9:05 GMT-03:00 Eric Covener :

> On Mon, Sep 19, 2016 at 1:39 AM, megha chauhan  wrote:
> > Hello Eric,
> >
> > The code is compiled with the below headers:
> >
> > APA24_ORG = httpd-$(APA24_VERSION)
> >
> > APA24_DIR = httpd-$(APA24_VERSION)
> >
> > APA24_INSTDIR = $(shell pwd)/$(APA24_DIR)/inst
> >
> > APA24_TAZ = $(APA24_ORG).tar.gz
> >
> >
> >
> > APA24_IDIR= $(APA24_INSTDIR)/include
> >
> >
> >
> > APA24_HDR_INCL = $(APA24_DIR)/include
> >
> > Also in the source code I have included the headers
> >
> > #include “httpd.h”
> >
> > #include “http_log.h”
> >
> >
> >
> > Same issue persists.
> >
> >
> >
> > Should we include any other header?
> >
> > Best Regards,
> >
> > Megha
>
> I'd suggest looking more closely at how this file is actually
> compiled, what it looks like after the pre-processor, and what symbols
> it has undefined rather than how it's intended to be compiled.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


-- 
Atenciosamente,
Rodrigo da Silva Cunha


Re: [users@httpd] ap_log_error dumps on apache start with apache 2.4

2016-09-16 Thread Rodrigo Cunha
you make this a code of module or this module is a module stable?
What are the name this module?What his do?where are the code this module?
where are the git for this code?Shared this code 4 public in girhub.
this list 4 user and not developers.

2016-09-16 9:08 GMT-03:00 Eric Covener :

> On Fri, Sep 16, 2016 at 8:08 AM, Can Le  wrote:
> > Please help on Apache24 10cv httpd-2.4.23-win32 which is running on my
> > Windows 8.1 tablet 32 bits.
>
>
> Start a new thread.
>
> --
> Eric Covener
> cove...@gmail.com
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


-- 
Atenciosamente,
Rodrigo da Silva Cunha


Re: [users@httpd] Apache Rewrite - Redirect Wildcard Subdomain

2016-09-15 Thread Rodrigo Cunha
about Situation 3
as you set up your dns?
the subdomains are directed to the correct server?
in http://aaa.subdomain.oldsite.com/foo/bar.php dsn is different from
http://subdomain.oldsite.com/foo/bar.php are different subdomains.

2016-09-15 10:33 GMT-03:00 Webmaster33 :

> Using Apache 2.2.22.
>
> I have the following SSL certificates:
>
>
> Common Name = subdomain.oldsite.com
> Subject Alternative Names = subdomain.oldsite.com, *.
> subdomain.oldsite.com
>
> Common Name = subdomain.newsite.com
> Subject Alternative Names = subdomain.newsite.com, *.
> subdomain.newsite.com
>
>
> I would like the following rewrite actions:
> 1) Redirect all unsecure requests to secure site, also requests from
> old sites to new site
>
> http://subdomain.oldsite.com   =>  https://subdomain.newsite.com
> https://subdomain.oldsite.com   =>  https://subdomain.newsite.com
>
> 2) Keep request %{REQUEST_URI} between redirects. Also use wildcard
> subdomains, and redirect them to secure new site, keeping wildcard
> subdomain.
>
> http://subdomain.oldsite.com/foo/bar.php   =>
> https://subdomain.newsite.com/foo/bar.php
> https://subdomain.oldsite.com/foo/bar.php   =>
> https://subdomain.newsite.com/foo/bar.php
>
> 3) wilcard subdomains, which are NOT ALLOWED should redirected to
> secure subdomain.newsite.com (aaa, bbb are not allowed)
>
> http://aaa.subdomain.oldsite.com/foo/bar.php   =>
> https://subdomain.newsite.com/foo/bar.php
> https://aaa.subdomain.oldsite.com/foo/bar.php   =>
> https://subdomain.newsite.com/foo/bar.php
> http://bbb.subdomain.oldsite.com/foo/bar.php   =>
> https://subdomain.newsite.com/foo/bar.php
> https://bbb.subdomain.oldsite.com/foo/bar.php   =>
> https://subdomain.newsite.com/foo/bar.php
>
> No one is allowed, except those subdomains, which are listed in 4. point.
>
> 4) wilcard subdomains, which are ALLOWED should redirected to secure
> mysite.subdomain.newsite.com Allowed site:
>
> http://mysite.subdomain.oldsite.com/foo/bar.php   =>
> https://mysite.subdomain.newsite.com/foo/bar.php
> https://mysite.subdomain.oldsite.com/foo/bar.php   =>
> https://mysite.subdomain.newsite.com/foo/bar.php
>
> My problem is, that
>
> http://aaa.subdomain.oldsite.com/foo/bar.php
>
> shows Server not found error.
>
> All the 1), 2) kind of situations are redirecting fine. I have
> problems getting result for 3), 4).
>
>
> I have the following config files in /etc/apache2/sites-available/
>
> default
> default-ssl
> subdomain.oldsite.com
> subdomain.oldsite.com_ssl
> subdomain.newsite.com
> subdomain.newsite.com_ssl
> mysite.subdomain.newsite.com_ssl
>
>
>
> Using VirtualHost config files like this (this is from
> subdomain.oldsite.com):
>
> 
> ServerName oldsite.com
> ServerAlias *.oldsite.com
>
> RewriteEngine On
>
> RewriteCond %{HTTP_HOST} ^(.+\.)?oldsite.com$ [NC]
> RewriteRule ^/(.*) https://newsite.com/$1 [R=301,L]
> 
>
>
> How can I reach to get good redirection results for 3), 4) ?
>
>
> Thanks in advance!
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


-- 
Atenciosamente,
Rodrigo da Silva Cunha


Re: [users@httpd] chinese char URL encoding/decoding fails

2016-09-15 Thread Rodrigo Cunha
I meant root directory this website, for example:
/var/www/ http <- this is the root directory of your website
check the permissions of it, they must have the permission of the group you
created.

2016-09-15 5:17 GMT-03:00 Oliver Klein <oliver.ok.kl...@googlemail.com>:

> Hi Rodrigo,
>
> I don’t have access to root of the server, it is a shared hosting. thank
> you very much for you answer and help -
> but I am not sure if I understood what you are trying to say :(
> So I should change the root directory of my website?
> Sorry!
>
>
> Oliver Klein
> +4917660017860
> oliver.ok.kl...@googlemail.com
>
>
>
> Am 14.09.2016 um 23:58 schrieb Rodrigo Cunha <rodrigo.root...@gmail.com>:
>
> You have htaccess in the root this website?
> I dont undestood this problem, like problem wich code but check hpaccess
> in your website or better call you developer code.
> troubleshot for this is change the root for other website code and check
> the problem, or make new vhost which identic configfile "
> www.youtcomain.conf" in the /etc/apache2/sites-enable which other code.
> check this code or make other website 4 configfie.
>
>
>


-- 
Atenciosamente,
Rodrigo da Silva Cunha


Re: [users@httpd] chinese char URL encoding/decoding fails

2016-09-14 Thread Rodrigo Cunha
You have htaccess in the root this website?
I dont undestood this problem, like problem wich code but check hpaccess in
your website or better call you developer code.
troubleshot for this is change the root for other website code and check
the problem, or make new vhost which identic configfile
"www.youtcomain.conf" in the /etc/apache2/sites-enable which other code.
check this code or make other website 4 configfie.

2016-09-14 18:43 GMT-03:00 Jim Walls :

> I don't read Chinese, but it appeared to work on this old XP computer
> running FireFox as a browser.
>
> Jim Walls
>
>
>
> --
> *From*: "Oliver Klein" 
> *Sent*: Wednesday, September 14, 2016 1:55 PM
> *To*: users@httpd.apache.org
> *Subject*: [users@httpd] chinese char URL encoding/decoding fails
>
> Hello mailing list,
>
> a warm hello from Frankfurt.
>
> I am first time using this mailing list, so I hope I do everything the
> right way. I appreciate any help, thank you.
> (I don’t even know if that is a server problem I am facing)
>
> I am experiencing an issue with our website chinafitter.com
> If you go to the website and right click on any navigation item and select
> „copy link“ and paste this link (#1) into a new browser tab, the page will
> open.
> If you stay on that page, copy the URL that is now displayed within the
> same browser tab, paste this link (#2) again into another or same browser
> tab, the page gives me a 404.
>
> If you take link #1 and #2 next to each other is exactly the same link.
>
> Same effect: just open any page on the website and click in the browser’s
> URL bar, and just hit enter. It gives you a 404.
>
> As you can see, the page uses chinese characters also in the URLs.
> Before the relaunch, it worked well on the same server with the same
> wordpress CMS.
>
> The only thing I found out:
> When copy the link from the HTML page itself, the Link looks like that
> (with lowercase letters):
> http://www.chinafitter.com/30%e5%a4%a9hiit%e5%87%8f%e8%84%
> 82%e5%81%a5%e8%ba%ab%e8%a7%86%e9%a2%91%e8%af%be%e7%a8%8b%e8%
> ae%a1%e5%88%92/
> if I copy it from the browser bar, it looks like that:
>
> http://www.chinafitter.com/30%E5%A4%A9hiit%E5%87%8F%E8%84%
> 82%E5%81%A5%E8%BA%AB%E8%A7%86%E9%A2%91%E8%AF%BE%E7%A8%8B%E8%
> AE%A1%E5%88%92/
>
> Hope anyone has an idea what that might be and how to fix that?
>
> Best regards,
> Oliver
>
>
>
>
>



-- 
Atenciosamente,
Rodrigo da Silva Cunha


Re: [users@httpd] Change user for Apache web server to a non-privileged user?

2016-09-14 Thread Rodrigo Cunha
check strings in the apache config directory /etc/apache (debian)
grep www- /etc/apache2/apache2.conf * -R or
grep http /etc/apache2/apache2.conf * -R

check strings content old users and change to new user :
http-web
check apache process run:
ps -ef |grep -i apache or ps -ef |grep -i http
PS:
Change index.php, for example or .httpaccess in the root directory you
website for you new group permission 775...



2016-09-14 18:37 GMT-03:00 Tom Hammond :

> Hi Richard,
>
> Thanks for the advice!  If I understand you, the user/group that the
> webserver is running as needs to have read access on files and execute on
> directories, but at the same time not be an "owner" of these files &
> directories.  Is that correct?
>
> Thanks again,
> Tom
>
>
> -Original Message-
> From: Richard [mailto:lists-apa...@listmail.innovate.net]
> Sent: Wednesday, September 14, 2016 5:06 PM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Change user for Apache web server to a
> non-privileged user?
>
>
>
> > Date: Wednesday, September 14, 2016 08:16:32 -0400
> > From: Tom Hammond 
> >
> > I have an Apache 2.2x server and would like to harden security so that
> > hackers can't get in easily to the Apache webserver.  One suggestion
> > is to change the user/group for Apache to a non-privileged account.
> >
> > Currently the user "fpp" is the default user for Apache which has
> > access to the operating system via sudo commands.
> >
> > I entered these commands to create a non-privileged account:
> > sudo groupadd http-web
> > sudo useradd -d /opt/fpp/www/ -g http-web http-web
> >
> > I then edited /etc/apache2/envvars to change these lines:
> > export APACHE_RUN_USER=http-web
> >
> > export APACHE_RUN_GROUP=http-web
> >
> > I also ran this command to change user/group permissions on this
> > folder: sudo chown -R http-web:http-web /var/lock/apache2/ sudo chown
> > -R http-web:http-web /opt/fpp/www
> >
> > Finally, I restarted the Apache service with this command:
> > sudo service apache2 restart
> >
> > When I try to access the website on this server, I receive the
> > following message:
> >
> > Forbidden: You don't have permission to access / on this server.
> >
> > I've been scouring the Internet trying to figure out how to switch the
> > default "fpp" Apache user to a non-privileged account and can't figure
> > it out. Can someone shed some light on this?
>
> There's nothing about the "apache" user/group that inherently makes it
> privileged. It's just a standard user/group that the apache server
> (generally) runs as.
>
> What you do want to make certain of is that your DocumentRoot is not owned
> by the user/group that the webserver is running as, and that it is not
> writable by that user/group.
>
> The webserver does need read access to the files (and execute to
> directories) under the DocumentRoot.
>
>
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


-- 
Atenciosamente,
Rodrigo da Silva Cunha


Re: [users@httpd] How to restart apache after reboot on ubuntu 16.04?

2016-08-16 Thread Rodrigo Cunha
execute
cat /var/log/apache2/error.log
and post stdout

2016-08-16 19:26 GMT-03:00 R :

> Hi,
>
> I've installed apache on my Ubuntu 16.04 machine as follows:
>
> sudo apt-get install apache2
>
> and it works fine. It does not restart on its own though after a reboot.
> Are there other Ubuntu 16.04 users that have it restarting on reboot?
>
> Thanks
>



-- 
Atenciosamente,
Rodrigo da Silva Cunha


Re: [users@httpd] Question about htaccess

2015-09-04 Thread Rodrigo Cunha
I have a htacces file in my root folder with some basic code in it. But I
want that all those instructions get ignored in the directory "dir1/dir1".
How can I achive this?

Thanks!

2015-09-04 11:05 GMT-03:00 Eric Covener <cove...@gmail.com>:

> On Thu, Sep 3, 2015 at 9:43 PM, Rodrigo Cunha <rodrigo.root...@gmail.com>
> wrote:
> > i try this in conf this vhost but not work
> > 
> > AllowOverride None
> > 
>
> Why the *?
>
> > i try create new htaccess in
> > /var/www/oduvaldocozzi.intranet/public/dir1/dir1 ans insert this code :
> > 
> > AllowOverride None
> > 
>
> Don't put  inside htacces.
>
> You'll also need to tell us more than "doesn't work" to get anywhere.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


-- 
Atenciosamente,
Rodrigo da Silva Cunha


[users@httpd] IRC for users apache 2.x

2015-09-03 Thread Rodrigo Cunha
Hello, i have irc for apache users 2.x.
Someone help me?!

-- 
Atenciosamente,
Rodrigo da Silva Cunha


[users@httpd] Question about htaccess

2015-09-03 Thread Rodrigo Cunha
Hello!!I have a question about htaccess in subdirectory apache2
in my server the root is /var/www/oduvaldocozzi.intranet/
i insert rules rewrite for /var/www/oduvaldocozzi.intranet/ but i have
disable the rules from directory /var/www/oduvaldocozzi.intranet/dir1/dir1
i have disable this rules only this directory
i try this in conf this vhost but not work

AllowOverride None

i try create new htaccess in
/var/www/oduvaldocozzi.intranet/public/dir1/dir1 ans insert this code :

AllowOverride None

but not work too
help me

-- 
Atenciosamente,
Rodrigo da Silva Cunha


[users@httpd] Wikimedia Problema Shape in apache wich php5.5

2015-03-31 Thread Rodrigo Cunha
Hi, my local wiki have problem in your shape.This no take css formating
default.
following image


​


-- 
Atenciosamente,
Rodrigo da Silva Cunha


Re: [users@httpd] Apache httpd error 403

2015-01-20 Thread Rodrigo Cunha
I change my directive Directory, but not work again.

VirtualHost *:80
ServerAdmin webmas...@openlabtec.com
DocumentRoot /var/www/www.portal.oduvaldocozzi.intranet
ServerName portal.oduvaldocozzi.intranet
Directory /var/www/www.portal.oduvaldocozzi.intranet
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
DirectoryIndex index.php index.html
/Directory

ErrorLog logs/portal-error_log
CustomLog logs/portal-access_log common
/VirtualHost


2015-01-20 14:32 GMT-02:00 Eric Covener cove...@gmail.com:

 On Tue, Jan 20, 2015 at 11:06 AM, Rodrigo Cunha
 rodrigo.root...@gmail.com wrote:
  Directory /var/www/
  Options Indexes FollowSymLinks MultiViews
  AllowOverride None
  Order allow,deny
  allow from all
  DirectoryIndex index.php index.html
  /Directory
 
  ErrorLog  logs/portal-error_log

 Was your error in the expected log?  Could be wrong vhost.

 In 2.4, you should be using 'require all granted' rather than Order
 and Allow. Does it make a difference?


 --
 Eric Covener
 cove...@gmail.com

 -
 To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
 For additional commands, e-mail: users-h...@httpd.apache.org




-- 
Atenciosamente,
Rodrigo da Silva Cunha