You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by kent emia <ke...@greendot.com.ph> on 2003/10/07 04:25:12 UTC

[users@httpd] users web page

hello to all....

i just created a setup for per-user-web in our office, i thought i've
got it because i can see it from other workstations but as i asked
someone from the net to view it for me.. he says the page cant be
found... what am i missing???


-- 
====================
  -- Kent C. Emia --
====================
Software Studio for Concepts,
Development and Research, Corp.
: Unit 307 3rd flr Central Plaza 1,
   J.P. Laurel Avenue, Davao City
   8000 Philippines
: http://www.cdr.com.ph
: +(6382)225-3728

- my IM's -
icq     : 347511398
yahoo   : kent_emia
hotmail : kentskie

- my page


- my mobile -


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL: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-help@httpd.apache.org


Re: [users@httpd] users web page

Posted by kent emia <ke...@greendot.com.ph>.
On Wed, 2003-10-08 at 09:36, hunter wrote:
> On Tue, 2003-10-07 at 21:03, kent emia wrote:
> > On Tue, 2003-10-07 at 16:57, JPN. Sumarno wrote:
> > > On Tue, 7 Oct 2003, kent emia wrote:
> > >
> 
> Sorry about jumping into this thread...
> And, I just rejoined the list and do not have your previous posts.
> 
> I use Debain and Windows but not Red Hat so I may be out of line.
> 
> >  
> > > > the server is based on redhat9 and im using apache my domain page lies
> > > > on the default value of apache /var/www/html while the per user is on
> > > > /home/userHome/public_html
> > >
> 
> This is correct ... user dir '~' is defined in httpd.conf as:
> 
> UserDir public_html
> 
> Control access to the directories is defined as:
> 
> <Directory /home/*/public_html>
> 
> Options ...
> 
> </Directory>
> 
> >  
> > > Kent, I advice you to move the user directories to /var/www/ because the
> > > mainweb page ussualy place in this directori. So if you move your user
> > > web file, their file will shown as http://yourdomain.ph/~hisname
> > >
> 
> I disagree.  User files should stay where httpd.conf says they are.
> 
me too

> You should put a default page in /var/www
yeah our companies page is in that location

> 
> If you go to my domain http://tor.ath.cx/ you will get my joke page -
> IIS not properly installed (It is a Debian Server running Apache).
;)

> 
> If you go to http://tor.ath.cx/~hunter you will get my personal page - I
> am a user on the server.  When I ftp to my server I am in /home/hunter
> and there is a directory called public_html and that is where my web
> site is.    
i like the logo nice

> 
> >  
> > > Is this what you mean ?
> > 
> > yes this is what i wanted to be the output http://yourdomain.ph/~hisname
> > but by default, isn't it the home of the users is /home/username ???
> > 
> > as i've read some of the docs they are saying that it should be the path
> > of the users home..
> > 
> > but my problem is that it cannot be seen from the internet but within
> > the LAN i can browse to my page 
> > 
> 
> I think you have something else wrong... like permissions perhaps.
> 
> cd into your /home/kent directory and type chown kent:kent * -R
adding the user to the apache group.. does this solve the problem???



> 
> Perhaps that will fix it ... you probably copied your files in as root
> or you assigned them to wwa-data.
> 
> Normally Apache will not let you symlink unless they are owned by the
> user - this is also defined in httpd.conf  
> 
> > my page is http://www.cdr.com.ph/~kent/
> > 
> > > 
> > > Regards
> > > Marno
> > > 
> > > 
> > > ---------------------------------------------------------------------
> > > The official User-To-User support forum of the Apache HTTP Server Project.
> > > See <URL: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-help@httpd.apache.org
> 
> BTW I accessed your domain ... it is very slow ??? DSL
> 
> hunter 
> 
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL: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-help@httpd.apache.org
-- 
====================
  -- Kent C. Emia --
====================
Software Studio for Concepts,
Development and Research, Corp.
: Unit 307 3rd flr Central Plaza 1,
   J.P. Laurel Avenue, Davao City
   8000 Philippines
: http://www.cdr.com.ph
: +(6382)225-3728

- my IM's -
icq     : 347511398
yahoo   : kent_emia
hotmail : kentskie

- my page


- my mobile -


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL: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-help@httpd.apache.org


Re: [users@httpd] users web page

Posted by hunter <th...@sympatico.ca>.
On Tue, 2003-10-07 at 21:03, kent emia wrote:
> On Tue, 2003-10-07 at 16:57, JPN. Sumarno wrote:
> > On Tue, 7 Oct 2003, kent emia wrote:
> >

Sorry about jumping into this thread...
And, I just rejoined the list and do not have your previous posts.

I use Debain and Windows but not Red Hat so I may be out of line.

>  
> > > the server is based on redhat9 and im using apache my domain page lies
> > > on the default value of apache /var/www/html while the per user is on
> > > /home/userHome/public_html
> >

This is correct ... user dir '~' is defined in httpd.conf as:

UserDir public_html

Control access to the directories is defined as:

<Directory /home/*/public_html>

Options ...

</Directory>

>  
> > Kent, I advice you to move the user directories to /var/www/ because the
> > mainweb page ussualy place in this directori. So if you move your user
> > web file, their file will shown as http://yourdomain.ph/~hisname
> >

I disagree.  User files should stay where httpd.conf says they are.

You should put a default page in /var/www

If you go to my domain http://tor.ath.cx/ you will get my joke page -
IIS not properly installed (It is a Debian Server running Apache).

If you go to http://tor.ath.cx/~hunter you will get my personal page - I
am a user on the server.  When I ftp to my server I am in /home/hunter
and there is a directory called public_html and that is where my web
site is.    

>  
> > Is this what you mean ?
> 
> yes this is what i wanted to be the output http://yourdomain.ph/~hisname
> but by default, isn't it the home of the users is /home/username ???
> 
> as i've read some of the docs they are saying that it should be the path
> of the users home..
> 
> but my problem is that it cannot be seen from the internet but within
> the LAN i can browse to my page 
> 

I think you have something else wrong... like permissions perhaps.

cd into your /home/kent directory and type chown kent:kent * -R

Perhaps that will fix it ... you probably copied your files in as root
or you assigned them to wwa-data.

Normally Apache will not let you symlink unless they are owned by the
user - this is also defined in httpd.conf  

> my page is http://www.cdr.com.ph/~kent/
> 
> > 
> > Regards
> > Marno
> > 
> > 
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server Project.
> > See <URL: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-help@httpd.apache.org

BTW I accessed your domain ... it is very slow ??? DSL

hunter 



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL: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-help@httpd.apache.org


Re: [users@httpd] users web page

Posted by kent emia <ke...@greendot.com.ph>.
On Tue, 2003-10-07 at 16:57, JPN. Sumarno wrote:
> On Tue, 7 Oct 2003, kent emia wrote:
> 
> > the server is based on redhat9 and im using apache my domain page lies
> > on the default value of apache /var/www/html while the per user is on
> > /home/userHome/public_html
> 
> Kent, I advice you to move the user directories to /var/www/ because the
> mainweb page ussualy place in this directori. So if you move your user
> web file, their file will shown as http://yourdomain.ph/~hisname
> 
> Is this what you mean ?

yes this is what i wanted to be the output http://yourdomain.ph/~hisname
but by default, isn't it the home of the users is /home/username ???

as i've read some of the docs they are saying that it should be the path
of the users home..

but my problem is that it cannot be seen from the internet but within
the LAN i can browse to my page 

my page is http://www.cdr.com.ph/~kent/

> 
> Regards
> Marno
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL: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-help@httpd.apache.org
-- 
====================
  -- Kent C. Emia --
====================
Software Studio for Concepts,
Development and Research, Corp.
: Unit 307 3rd flr Central Plaza 1,
   J.P. Laurel Avenue, Davao City
   8000 Philippines
: http://www.cdr.com.ph
: +(6382)225-3728

- my IM's -
icq     : 347511398
yahoo   : kent_emia
hotmail : kentskie

- my page


- my mobile -


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL: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-help@httpd.apache.org


Re: [users@httpd] users web page

Posted by "JPN. Sumarno" <ma...@ai3.itb.ac.id>.
On Tue, 7 Oct 2003, kent emia wrote:

> the server is based on redhat9 and im using apache my domain page lies
> on the default value of apache /var/www/html while the per user is on
> /home/userHome/public_html

Kent, I advice you to move the user directories to /var/www/ because the
mainweb page ussualy place in this directori. So if you move your user
web file, their file will shown as http://yourdomain.ph/~hisname

Is this what you mean ?

Regards
Marno


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL: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-help@httpd.apache.org


Re: [users@httpd] users web page

Posted by kent emia <ke...@greendot.com.ph>.
On Tue, 2003-10-07 at 16:26, JPN. Sumarno wrote:
> Dear Kent,
> 
> A server will shown in Internet if the domain and its IP address has
> published. 

yes, our domain is already available in the internet.

> If you have done this, the problem maybe comes from your web
> application setting. 
> What kind of application software do used ? cgi or
> php or others ? 

it is only pure html, i haven't gone yet with php, cgi or any other
stuff.. our page in the domain is a simple html with some scripts

> if you write more specific, I think you will have the
> answer from this mailing list :-).

the server is based on redhat9 and im using apache my domain page lies
on the default value of apache /var/www/html while the per user is on
/home/userHome/public_html

> 
> Regards,
> Marno





> 
> On Tue, 7 Oct 2003, kent emia wrote:
> 
> > hello to all....
> > 
> > i just created a setup for per-user-web in our office, i thought i've
> > got it because i can see it from other workstations but as i asked
> > someone from the net to view it for me.. he says the page cant be
> > found... what am i missing???
> > 
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL: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-help@httpd.apache.org
-- 
====================
  -- Kent C. Emia --
====================
Software Studio for Concepts,
Development and Research, Corp.
: Unit 307 3rd flr Central Plaza 1,
   J.P. Laurel Avenue, Davao City
   8000 Philippines
: http://www.cdr.com.ph
: +(6382)225-3728

- my IM's -
icq     : 347511398
yahoo   : kent_emia
hotmail : kentskie

- my page


- my mobile -


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL: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-help@httpd.apache.org


Re: [users@httpd] users web page

Posted by "JPN. Sumarno" <ma...@ai3.itb.ac.id>.
Dear Kent,

A server will shown in Internet if the domain and its IP address has
published. If you have done this, the problem maybe comes from your web
application setting. What kind of application software do used ? cgi or
php or others ? if you write more specific, I think you will have the
answer from this mailing list :-).

Regards,
Marno

On Tue, 7 Oct 2003, kent emia wrote:

> hello to all....
> 
> i just created a setup for per-user-web in our office, i thought i've
> got it because i can see it from other workstations but as i asked
> someone from the net to view it for me.. he says the page cant be
> found... what am i missing???
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL: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-help@httpd.apache.org


Re: [users@httpd] users web page

Posted by kent emia <ke...@greendot.com.ph>.
On Thu, 2003-10-09 at 06:38, Jonas Eckerman wrote:
> On Wed, 08 Oct 2003 13:23:20 +0800, kent emia wrote:
> 
> > page can't be found (something like that)
> [...]
> > www.cdr.com.ph/~kent/
> 
> Ok. tested it myself and got a 404 error, so it seems the error 
> message was correct. (The reason I wanted to make sure is that some 
> browsers simply can't be trusted when it comes to error messages.)
> 
> > for me its strange because www.cdr.com.ph can be found
> 
> Do you get the same stuff on "http://www.cdr.com.ph/" from inside 
> your net as you do from outside?

the same stuff? i don't get it.. but if what u mean is that, if i can
browse both from our LAN, then the answer is yes

> 
> What's in the error log for the failed accesses?
> What's in the access log for the successful ones?
can't find it...

> 
> Are there any proxies involved?
im using ipcop(firewall) my webserver is in the orange boxes or (dmz)

> 
> Do you have any Limit directives in the Apache config?
limits? i don't remember setting one...

> 
> Apart from those quastions, I really have no idea what may be wrong. 
> Maybe you could let us see your config to see if there's anything odd 
> in there?
> 
> Regards
> /Jonas
-- 
====================
  -- Kent C. Emia --
====================
Software Studio for Concepts,
Development and Research, Corp.
: Unit 307 3rd flr Central Plaza 1,
   J.P. Laurel Avenue, Davao City
   8000 Philippines
: http://www.cdr.com.ph
: +(6382)225-3728

- my IM's -
icq     : 347511398
yahoo   : kent_emia
hotmail : kentskie

- my page


- my mobile -


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL: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-help@httpd.apache.org


Re: [users@httpd] users web page

Posted by Jonas Eckerman <jo...@frukt.org>.
On Wed, 08 Oct 2003 13:23:20 +0800, kent emia wrote:

> page can't be found (something like that)
[...]
> www.cdr.com.ph/~kent/

Ok. tested it myself and got a 404 error, so it seems the error 
message was correct. (The reason I wanted to make sure is that some 
browsers simply can't be trusted when it comes to error messages.)

> for me its strange because www.cdr.com.ph can be found

Do you get the same stuff on "http://www.cdr.com.ph/" from inside 
your net as you do from outside?

What's in the error log for the failed accesses?
What's in the access log for the successful ones?

Are there any proxies involved?

Do you have any Limit directives in the Apache config?

Apart from those quastions, I really have no idea what may be wrong. 
Maybe you could let us see your config to see if there's anything odd 
in there?

Regards
/Jonas
-- 
Jonas Eckerman, jonas_lists@frukt.org
http://www.fsdb.org/



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL: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-help@httpd.apache.org


Re: [users@httpd] users web page

Posted by kent emia <ke...@greendot.com.ph>.
On Wed, 2003-10-08 at 05:29, Jonas Eckerman wrote:
> On Tue, 07 Oct 2003 10:25:12 +0800, kent emia wrote:
> 
> > what am i missing???
> 
> Allmost all information necessary for anyone to help.
> 
> > someone from the net to view it for me.. he says the page cant be
> > found...
> 
> Did he get any answer at all from the web server?
> If he did: what error message did he get?

page can't be found (something like that)

> Do you have a URL we could try in order to see what result we get?

www.cdr.com.ph/~kent/

for me its strange because www.cdr.com.ph can be found 

> Are you using virtual hosts?

no, im still reading some docs

> Is the server behind a firewall?

yes but i already made rule for it

> Is there a DNS record pointing the domain name to the IP adress of 
> the server?

yes

> 
> /Jonas
-- 
====================
  -- Kent C. Emia --
====================
Software Studio for Concepts,
Development and Research, Corp.
: Unit 307 3rd flr Central Plaza 1,
   J.P. Laurel Avenue, Davao City
   8000 Philippines
: http://www.cdr.com.ph
: +(6382)225-3728

- my IM's -
icq     : 347511398
yahoo   : kent_emia
hotmail : kentskie

- my page


- my mobile -


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL: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-help@httpd.apache.org


Re: [users@httpd] users web page

Posted by Jonas Eckerman <jo...@frukt.org>.
On Tue, 07 Oct 2003 10:25:12 +0800, kent emia wrote:

> what am i missing???

Allmost all information necessary for anyone to help.

> someone from the net to view it for me.. he says the page cant be
> found...

Did he get any answer at all from the web server?
If he did: what error message did he get?
Do you have a URL we could try in order to see what result we get?
Are you using virtual hosts?
Is the server behind a firewall?
Is there a DNS record pointing the domain name to the IP adress of 
the server?

/Jonas
-- 
Jonas Eckerman, jonas_lists@frukt.org
http://www.fsdb.org/



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL: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-help@httpd.apache.org