[users@httpd] webserver

2012-01-20 Thread Dr. Sunil M. Dogra
Hi

I am running webserver on Scientific linux 6.1 (64bit) machine in  private
network
"http://myserver.edu.in";

I am able to see this page on server but when open on other machines on my
private network, it says can't connect to http://server.edu.in because it
could not find server.


I can ssh to this server, also can copy the file to this server.


any help ???


With Best Regards
sunil


Re: [users@httpd] webserver

2012-01-20 Thread Frank Gingras



On 20/01/12 06:42 AM, Dr. Sunil M. Dogra wrote:


Hi

I am running webserver on Scientific linux 6.1 (64bit) machine in
  private network
"http://myserver.edu.in";

I am able to see this page on server but when open on other machines on
my private network, it says can't connect to http://server.edu.in
because it could not find server.


I can ssh to this server, also can copy the file to this server.


any help ???


With Best Regards
sunil


That's a DNS error.

Frank

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] webserver

2012-01-20 Thread Steve Swift
On one of the systems which cannot connect, issue the command "ping
myserver.edu.in" (or whatever the actual hostname is) and compare the
result with the actual IP address of the server.

If they are different (a 99% probability) then fix that.

The other 1% probability might be interesting.

On 21 January 2012 06:46, Frank Gingras  wrote:

>
>
> On 20/01/12 06:42 AM, Dr. Sunil M. Dogra wrote:
>
>>
>> Hi
>>
>> I am running webserver on Scientific linux 6.1 (64bit) machine in
>>  private network
>> "http://myserver.edu.in";
>>
>> I am able to see this page on server but when open on other machines on
>> my private network, it says can't connect to http://server.edu.in
>> because it could not find server.
>>
>>
>> I can ssh to this server, also can copy the file to this server.
>>
>>
>> any help ???
>>
>>
>> With Best Regards
>> sunil
>>
>
> That's a DNS error.
>
> Frank
>
> --**--**-
> The official User-To-User support forum of the Apache HTTP Server Project.
> See 
> http://httpd.apache.org/**userslist.html>
> for more info.
> To unsubscribe, e-mail: 
> users-unsubscribe@httpd.**apache.org
>  "   from the digest: 
> users-digest-unsubscribe@**httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


-- 
Steve Swift
http://www.swiftys.org.uk


Re: [users@httpd] webserver

2012-01-21 Thread Dr. Sunil M. Dogra
Thank you Steve

10.20.2.1 is my private ip

ping 10.20.1.44 works
ssh to 10.20.1.44 works

scp from 10.20.1.45 to 10.20.1.44 works


but http://10.20.1.44 does not work

Any help

With Best regards
sunil

On Sat, Jan 21, 2012 at 1:06 PM, Steve Swift  wrote:

> On one of the systems which cannot connect, issue the command "ping
> myserver.edu.in" (or whatever the actual hostname is) and compare the
> result with the actual IP address of the server.
>
> If they are different (a 99% probability) then fix that.
>
> The other 1% probability might be interesting.
>
> On 21 January 2012 06:46, Frank Gingras wrote:
>
>>
>>
>> On 20/01/12 06:42 AM, Dr. Sunil M. Dogra wrote:
>>
>>>
>>> Hi
>>>
>>> I am running webserver on Scientific linux 6.1 (64bit) machine in
>>>  private network
>>> "http://myserver.edu.in";
>>>
>>> I am able to see this page on server but when open on other machines on
>>> my private network, it says can't connect to http://server.edu.in
>>> because it could not find server.
>>>
>>>
>>> I can ssh to this server, also can copy the file to this server.
>>>
>>>
>>> any help ???
>>>
>>>
>>> With Best Regards
>>> sunil
>>>
>>
>> That's a DNS error.
>>
>> Frank
>>
>> --**--**-
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See 
>> http://httpd.apache.org/**userslist.html>
>> for more info.
>> To unsubscribe, e-mail: 
>> users-unsubscribe@httpd.**apache.org
>>  "   from the digest: 
>> users-digest-unsubscribe@**httpd.apache.org
>> For additional commands, e-mail: users-h...@httpd.apache.org
>>
>>
>
>
> --
> Steve Swift
> http://www.swiftys.org.uk
>


Re: [users@httpd] webserver

2012-01-21 Thread Dr. Sunil M. Dogra
Sorry my private ip is 10.20.1.44 and 10.20.1.45


Thank you Steve
>
> 10.20.2.1 is my private ip
>
> ping 10.20.1.44 works
> ssh to 10.20.1.44 works
>
> scp from 10.20.1.45 to 10.20.1.44 works
>
>
> but http://10.20.1.44 does not work
>
> Any help
>
> With Best regards
> sunil
>
> On Sat, Jan 21, 2012 at 1:06 PM, Steve Swift wrote:
>
>> On one of the systems which cannot connect, issue the command "ping
>> myserver.edu.in" (or whatever the actual hostname is) and compare the
>> result with the actual IP address of the server.
>>
>> If they are different (a 99% probability) then fix that.
>>
>> The other 1% probability might be interesting.
>>
>> On 21 January 2012 06:46, Frank Gingras wrote:
>>
>>>
>>>
>>> On 20/01/12 06:42 AM, Dr. Sunil M. Dogra wrote:
>>>

 Hi

 I am running webserver on Scientific linux 6.1 (64bit) machine in
  private network
 "http://myserver.edu.in";

 I am able to see this page on server but when open on other machines on
 my private network, it says can't connect to http://server.edu.in
 because it could not find server.


 I can ssh to this server, also can copy the file to this server.


 any help ???


 With Best Regards
 sunil

>>>
>>> That's a DNS error.
>>>
>>> Frank
>>>
>>> --**--**
>>> -
>>> The official User-To-User support forum of the Apache HTTP Server
>>> Project.
>>> See 
>>> http://httpd.apache.org/**userslist.html>
>>> for more info.
>>> To unsubscribe, e-mail: 
>>> users-unsubscribe@httpd.**apache.org
>>>  "   from the digest: 
>>> users-digest-unsubscribe@**httpd.apache.org
>>> For additional commands, e-mail: users-h...@httpd.apache.org
>>>
>>>
>>
>>
>> --
>> Steve Swift
>> http://www.swiftys.org.uk
>>
>
>


Re: [users@httpd] webserver

2012-01-21 Thread Steve Swift
You are probably reaching the server but it is rejecting the connection.
Technically, this isn't an error, so the messages about these events go
into the access log, as your access was denied. See if there is anything
interesting in there.

On our system it is at /var/log/apache2/access.log

On 21 January 2012 08:33, Dr. Sunil M. Dogra  wrote:

> Sorry my private ip is 10.20.1.44 and 10.20.1.45
>
>
>
> Thank you Steve
>>
>> 10.20.2.1 is my private ip
>>
>> ping 10.20.1.44 works
>> ssh to 10.20.1.44 works
>>
>> scp from 10.20.1.45 to 10.20.1.44 works
>>
>>
>> but http://10.20.1.44 does not work
>>
>> Any help
>>
>> With Best regards
>> sunil
>>
>> On Sat, Jan 21, 2012 at 1:06 PM, Steve Swift wrote:
>>
>>> On one of the systems which cannot connect, issue the command "ping
>>> myserver.edu.in" (or whatever the actual hostname is) and compare the
>>> result with the actual IP address of the server.
>>>
>>> If they are different (a 99% probability) then fix that.
>>>
>>> The other 1% probability might be interesting.
>>>
>>> On 21 January 2012 06:46, Frank Gingras wrote:
>>>


 On 20/01/12 06:42 AM, Dr. Sunil M. Dogra wrote:

>
> Hi
>
> I am running webserver on Scientific linux 6.1 (64bit) machine in
>  private network
> "http://myserver.edu.in";
>
> I am able to see this page on server but when open on other machines on
> my private network, it says can't connect to http://server.edu.in
> because it could not find server.
>
>
> I can ssh to this server, also can copy the file to this server.
>
>
> any help ???
>
>
> With Best Regards
> sunil
>

 That's a DNS error.

 Frank

 --**--**
 -
 The official User-To-User support forum of the Apache HTTP Server
 Project.
 See 
 http://httpd.apache.org/**userslist.html>
 for more info.
 To unsubscribe, e-mail: 
 users-unsubscribe@httpd.**apache.org
  "   from the digest: 
 users-digest-unsubscribe@**httpd.apache.org
 For additional commands, e-mail: users-h...@httpd.apache.org


>>>
>>>
>>> --
>>> Steve Swift
>>> http://www.swiftys.org.uk
>>>
>>
>>
>


-- 
Steve Swift
http://www.swiftys.org.uk


[users@httpd] Webserver configuration

2012-07-28 Thread Yagiz OZEN
Hello everyone,

I am new to Linux systems and I bought a www address from godaddy and also 
install centos to my pc with the packages related to apache web server. I can 
access to the pho page that I have on the server from the localhost.com/.. 
But I need help to configure the system for the outside access from the 
internet to the webserver. I want the pho page accessible from the Internet via 
the webpage that I bought from godaddy. Can you please an please help me about 
this? I need step by step configuration guide for this purpose. Any link that 
suites my need is expected please. 

Or if someone can prepare this for me? 

Thank you in advance guys.

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



Re: [users@httpd] Webserver configuration

2012-07-28 Thread Jonathan Rogers
Yagiz OZEN wrote:
> Hello everyone,
>
> I am new to Linux systems and I bought a www address from godaddy and also 
> install centos to my pc with the packages related to apache web server. I can 
> access to the pho page that I have on the server from the 
> localhost.com/.. But I need help to configure the system for the outside 
> access from the internet to the webserver. I want the pho page accessible 
> from the Internet via the webpage that I bought from godaddy. Can you please 
> an please help me about this? I need step by step configuration guide for 
> this purpose. Any link that suites my need is expected please. 
>
I assume that what you got from GoDaddy (a poor choice for service
provider BTW) is just a DNS domain. It sounds like you're starting from
the absolute beginning WRT setting up a GNU/Linux-based server system so
you have a lot to learn before you can safely expose it to the public
Internet. This goes far beyond Apache configuration. You may find it
easier to start with a shared hosting service as they almost universally
provide LAMP stacks with no configuration on your part. However, if you
search for HOWTOs about RHEL or CentOS and PHP, you can easily find
hundreds of them.

-- 
Jonathan Ross Rogers


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



Re: [users@httpd] Webserver configuration

2012-07-28 Thread Yagiz OZEN
Hi Rogers,

Can you explain a little bit more the sentence you mentioned down, the one with 
the shared hosting and LAMP. What do you mean?


Sent from my iPhone

On 28 Tem 2012, at 23:30, Jonathan Rogers  wrote:

> You may find it
> easier to start with a shared hosting service as they almost universally
> provide LAMP stacks with no configuration on your part

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



[users@httpd] webserver configuration to redirect correctly API calls

2018-03-13 Thread Anke . Wienecke
Hi,

I have to admit that I am a total amateur concerning apache and its 
configuration. However, I am in the need to do so. In order to use an API to 
add data into an application which is running in apache2 I need to set a 
redirection.

Everything what I found by now does not really help me, probably also as I do 
not know the syntax in detail and which files are really important.

I have the Info how this redirection works in Nginx:
location ~ ^/api/v1/(.*)/?$ {
rewrite /api/v1/(.*)$ /app/controllers/ApiController.php?req=$1? last;
}

In words what the redirection needs to do is that all requests that go to 
/api/v1/BLAH are redirected to /app/controllers/APIController.php?=req=BLAH

The "home" directory is: /var/www/html/elabftw
and the API stuff is in /var/www/html/elabftw/app/controllers/

I tried already something like that:
- creating a .htaccess file in /var/www/html/elabftw/
- adding:
RewriteEngine On 
RewriteRule ^/api/v1/(.*)$ /app/controllers/ApiController.php?req=$1? [R=301]

..but it does not work...

I would be very happy and thankful for help - in which file (.htaccess??), do I 
need to write what...

Best,
Anke

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



[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] webserver configuration to redirect correctly API calls

2018-03-13 Thread Eric Covener
On Tue, Mar 13, 2018 at 3:51 AM, anke.wiene...@gmx.net
 wrote:
> Hi,
>
> I have to admit that I am a total amateur concerning apache and its 
> configuration. However, I am in the need to do so. In order to use an API to 
> add data into an application which is running in apache2 I need to set a 
> redirection.
>
> Everything what I found by now does not really help me, probably also as I do 
> not know the syntax in detail and which files are really important.
>
> I have the Info how this redirection works in Nginx:
> location ~ ^/api/v1/(.*)/?$ {
> rewrite /api/v1/(.*)$ /app/controllers/ApiController.php?req=$1? last;
> }
>
> In words what the redirection needs to do is that all requests that go to 
> /api/v1/BLAH are redirected to /app/controllers/APIController.php?=req=BLAH
>
> The "home" directory is: /var/www/html/elabftw
> and the API stuff is in /var/www/html/elabftw/app/controllers/
>
> I tried already something like that:
> - creating a .htaccess file in /var/www/html/elabftw/
> - adding:
> RewriteEngine On
> RewriteRule ^/api/v1/(.*)$ /app/controllers/ApiController.php?req=$1? [R=301]
>
> ..but it does not work...
>
> I would be very happy and thankful for help - in which file (.htaccess??), do 
> I need to write what...

With mod_rewrite, you need to watch out for a few gotchas (that you
unfortunatley walked right into)


1 - if you have access to the real conf, use it over htaccess. Rules
go in your .
2 - rules have a slightly different syntax in htaccess -- the leading
prefix of the match is stripped off based on the htaccess location.
Nothing ever starts with /
3 - if you want to capture the query string, you need to add a
RewriteCond then use the %1 backreference.

Probably something close here:
https://wiki.apache.org/httpd/RewriteQueryString


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

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



Re: [users@httpd] webserver configuration to redirect correctly API calls

2018-03-13 Thread Frank Gingras
Why is your API not using pathinfo? You could simply use FallbackResource
/app/controllers/ApiController.php then.

On Tue, Mar 13, 2018 at 7:55 AM, Eric Covener  wrote:

> On Tue, Mar 13, 2018 at 3:51 AM, anke.wiene...@gmx.net
>  wrote:
> > Hi,
> >
> > I have to admit that I am a total amateur concerning apache and its
> configuration. However, I am in the need to do so. In order to use an API
> to add data into an application which is running in apache2 I need to set a
> redirection.
> >
> > Everything what I found by now does not really help me, probably also as
> I do not know the syntax in detail and which files are really important.
> >
> > I have the Info how this redirection works in Nginx:
> > location ~ ^/api/v1/(.*)/?$ {
> > rewrite /api/v1/(.*)$ /app/controllers/ApiController.php?req=$1? last;
> > }
> >
> > In words what the redirection needs to do is that all requests that go
> to /api/v1/BLAH are redirected to /app/controllers/
> APIController.php?=req=BLAH
> >
> > The "home" directory is: /var/www/html/elabftw
> > and the API stuff is in /var/www/html/elabftw/app/controllers/
> >
> > I tried already something like that:
> > - creating a .htaccess file in /var/www/html/elabftw/
> > - adding:
> > RewriteEngine On
> > RewriteRule ^/api/v1/(.*)$ /app/controllers/ApiController.php?req=$1?
> [R=301]
> >
> > ..but it does not work...
> >
> > I would be very happy and thankful for help - in which file
> (.htaccess??), do I need to write what...
>
> With mod_rewrite, you need to watch out for a few gotchas (that you
> unfortunatley walked right into)
>
>
> 1 - if you have access to the real conf, use it over htaccess. Rules
> go in your .
> 2 - rules have a slightly different syntax in htaccess -- the leading
> prefix of the match is stripped off based on the htaccess location.
> Nothing ever starts with /
> 3 - if you want to capture the query string, you need to add a
> RewriteCond then use the %1 backreference.
>
> Probably something close here:
> https://wiki.apache.org/httpd/RewriteQueryString
>
>
> --
> Eric Covener
> cove...@gmail.com
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


Re: [users@httpd] webserver configuration to redirect correctly API calls

2018-03-13 Thread Anke Wienecke
It is not my API. But I will forward your comment to the developper! Thanks!

Also thanks to Eric! I will go through "RewriteQueryString".

On 2018/03/13 12:31:23, Frank Gingras  wrote: 
> Why is your API not using pathinfo? You could simply use FallbackResource
> /app/controllers/ApiController.php then.
> 
> On Tue, Mar 13, 2018 at 7:55 AM, Eric Covener  wrote:
> 
> > On Tue, Mar 13, 2018 at 3:51 AM, anke.wiene...@gmx.net
> >  wrote:
> > > Hi,
> > >
> > > I have to admit that I am a total amateur concerning apache and its
> > configuration. However, I am in the need to do so. In order to use an API
> > to add data into an application which is running in apache2 I need to set a
> > redirection.
> > >
> > > Everything what I found by now does not really help me, probably also as
> > I do not know the syntax in detail and which files are really important.
> > >
> > > I have the Info how this redirection works in Nginx:
> > > location ~ ^/api/v1/(.*)/?$ {
> > > rewrite /api/v1/(.*)$ /app/controllers/ApiController.php?req=$1? last;
> > > }
> > >
> > > In words what the redirection needs to do is that all requests that go
> > to /api/v1/BLAH are redirected to /app/controllers/
> > APIController.php?=req=BLAH
> > >
> > > The "home" directory is: /var/www/html/elabftw
> > > and the API stuff is in /var/www/html/elabftw/app/controllers/
> > >
> > > I tried already something like that:
> > > - creating a .htaccess file in /var/www/html/elabftw/
> > > - adding:
> > > RewriteEngine On
> > > RewriteRule ^/api/v1/(.*)$ /app/controllers/ApiController.php?req=$1?
> > [R=301]
> > >
> > > ..but it does not work...
> > >
> > > I would be very happy and thankful for help - in which file
> > (.htaccess??), do I need to write what...
> >
> > With mod_rewrite, you need to watch out for a few gotchas (that you
> > unfortunatley walked right into)
> >
> >
> > 1 - if you have access to the real conf, use it over htaccess. Rules
> > go in your .
> > 2 - rules have a slightly different syntax in htaccess -- the leading
> > prefix of the match is stripped off based on the htaccess location.
> > Nothing ever starts with /
> > 3 - if you want to capture the query string, you need to add a
> > RewriteCond then use the %1 backreference.
> >
> > Probably something close here:
> > https://wiki.apache.org/httpd/RewriteQueryString
> >
> >
> > --
> > Eric Covener
> > cove...@gmail.com
> >
> > -
> > 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



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

2017-02-20 Thread Mitchell Krog Photography
That’s because you have generated your own certificates, they are not
trusted by any browser.

Get yourself a fully trusted free SSL certificate using the Certbot client
from Let’s Encrypt.
https://letsencrypt.org / https://community.letsencrypt.org



From: Rodrigo Cunha  
Reply: users@httpd.apache.org 

Date: 21 February 2017 at 12:11:04 AM
To: users@httpd.apache.org  
Subject:  [users@httpd] Webserver intranet https categorized for insecure
for broesers.

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