You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Nicolas Maujean <nm...@gmail.com> on 2012/08/16 18:55:29 UTC
[users@httpd] Apache can't interpret a link in my webpage so the style is not good,
how I can resolve that ?
Apache can't interpret the following link :
but when I open the html file directly in the browser it works. if I use
the url link
http://localhost:8080/TCS/group/guest
it doesn't work anymore,
anyone could help ? Thank you for your answers,
Nicolas Maujean
Fwd: [users@httpd] Apache can't interpret a link in my webpage so the
style is not good, how I can resolve that ?
Posted by Nicolas Maujean <nm...@gmail.com>.
- What is the full path and name of the HTML file in your filesystem?
C:\Program Files\Apache2.2\htdocs\TCS\group\guest
- In your Apache HTTP Server configuration, what did you specify as the
DocumentRoot directory?
DocumentRoot "C:/Program Files/Apache2.2/htdocs"
- Is httpd actually running?
Yes
- Are you able to access *any* HTML file via httpd? If so, what ones, and
how does the one above differ from it? If you are not able to access any
page, that is also very important to tell us.
Yes I am able to access any html file
- Have you configured httpd to listen on port 8080?
yes
- What message appears in the httpd error log when you attempt to access
the page?
no messages link to this problem
[Thu Aug 16 18:04:51 2012] [notice] Apache/2.2.22 (Win32) configured --
resuming normal operations
[Thu Aug 16 18:04:51 2012] [notice] Server built: Jan 28 2012 11:16:39
[Thu Aug 16 18:04:51 2012] [notice] Parent: Created child process 3908
[Thu Aug 16 18:04:51 2012] [notice] Child 3908: Child process is running
[Thu Aug 16 18:04:51 2012] [notice] Child 3908: Acquired the start mutex.
[Thu Aug 16 18:04:51 2012] [notice] Child 3908: Starting 64 worker threads.
[Thu Aug 16 18:04:51 2012] [notice] Child 3908: Starting thread to listen
on port 8080.
[Thu Aug 16 18:04:58 2012] [error] [client 127.0.0.1] File does not exist:
C:/Program Files/Apache2.2/htdocs/language, referer:
http://localhost:8080/TCS/group/guest/default.htm
[Thu Aug 16 18:04:58 2012] [error] [client 127.0.0.1] File does not exist:
C:/Program Files/Apache2.2/htdocs/language, referer:
http://localhost:8080/TCS/group/guest/default.htm
[Thu Aug 16 18:04:58 2012] [error] [client 127.0.0.1] File does not exist:
C:/Program Files/Apache2.2/htdocs/language, referer:
http://localhost:8080/TCS/group/guest/default.htm
[Thu Aug 16 18:04:58 2012] [error] [client 127.0.0.1] File does not exist:
C:/Program Files/Apache2.2/htdocs/language, referer:
http://localhost:8080/TCS/group/guest/default.htm
[Thu Aug 16 18:04:58 2012] [error] [client 127.0.0.1] File does not exist:
C:/Program Files/Apache2.2/htdocs/language, referer:
http://localhost:8080/TCS/group/guest/default.htm
- Does the user as which you are running httpd have permission to read the
HTML file in the filesystem?
Yes
- What version of Apache HTTP Server are you running?
version 2.2
- What operating system (including version) are you running?
Windows XP version 2002 SP3
- How did you install httpd?
classic installation after downloading apache, everything work fine
- How did you configure httpd?
Let the default configuration
On Thu, Aug 16, 2012 at 7:18 PM, Mark Montague <ma...@catseye.org> wrote:
> On August 16, 2012 12:55 , Nicolas Maujean <nm...@gmail.com> wrote:
>
>>
>> Apache can't interpret the following link :
>>
>> but when I open the html file directly in the browser it works. if I use
>> the url link
>>
>> |http://localhost:8080/TCS/**group/guest<http://localhost:8080/TCS/group/guest>
>> |
>>
>> it doesn't work anymore,
>>
>>
> In addition to the reply from James ("what does 'doesn't work' mean?")...
>
> - What is the full path and name of the HTML file in your filesystem?
> - In your Apache HTTP Server configuration, what did you specify as the
> DocumentRoot directory?
> - Is httpd actually running?
> - Are you able to access *any* HTML file via httpd? If so, what ones, and
> how does the one above differ from it? If you are not able to access any
> page, that is also very important to tell us.
> - Have you configured httpd to listen on port 8080?
> - What message appears in the httpd error log when you attempt to access
> the page?
> - Does the user as which you are running httpd have permission to read the
> HTML file in the filesystem?
> - What version of Apache HTTP Server are you running?
> - What operating system (including version) are you running?
> - How did you install httpd?
> - How did you configure httpd?
>
> --
> Mark Montague
> mark@catseye.org
>
>
Re: [users@httpd] Apache can't interpret a link in my webpage so
the style is not good, how I can resolve that ?
Posted by Mark Montague <ma...@catseye.org>.
On August 16, 2012 12:55 , Nicolas Maujean <nm...@gmail.com> wrote:
>
> Apache can't interpret the following link :
>
> but when I open the html file directly in the browser it works. if I
> use the url link
>
> |http://localhost:8080/TCS/group/guest
> |
>
> it doesn't work anymore,
>
In addition to the reply from James ("what does 'doesn't work' mean?")...
- What is the full path and name of the HTML file in your filesystem?
- In your Apache HTTP Server configuration, what did you specify as the
DocumentRoot directory?
- Is httpd actually running?
- Are you able to access *any* HTML file via httpd? If so, what ones,
and how does the one above differ from it? If you are not able to
access any page, that is also very important to tell us.
- Have you configured httpd to listen on port 8080?
- What message appears in the httpd error log when you attempt to access
the page?
- Does the user as which you are running httpd have permission to read
the HTML file in the filesystem?
- What version of Apache HTTP Server are you running?
- What operating system (including version) are you running?
- How did you install httpd?
- How did you configure httpd?
--
Mark Montague
mark@catseye.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Apache can't interpret a link in my webpage so the
style is not good, how I can resolve that ?
Posted by Nicolas Maujean <nm...@gmail.com>.
Thanx for your answers, I will answer tomorrow for the other questions, the
office will close
On Thu, Aug 16, 2012 at 7:43 PM, Nicolas Maujean <nm...@gmail.com> wrote:
> This problem has been resolved, the path seems to be relative to its
> current path, I have no more error about that
>
>
> On Thu, Aug 16, 2012 at 7:37 PM, James Moe <ji...@sohnen-moe.com> wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 08/16/2012 10:19 AM, Nicolas Maujean wrote:
>> > no, the url of the page called is :
>> > http://localhost:8080/TCS/group/guest
>> >
>> > so it will look in http://localhost:8080/TCS/chorus-theme
>> >
>> No. The path is relative to the ServerRoot.
>> Change "<link href="../../chorus-theme/css/..." to
>> <link href="/TCS/chorus-theme/css/...".
>>
>> - --
>> James Moe
>> moe dot james at sohnen-moe dot com
>> 520.743.3936
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v2.0.18 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>
>> iEYEARECAAYFAlAtL9MACgkQzTcr8Prq0ZOKlQCePwIk+btKYqrZMyVBjLhHjKFD
>> b8EAnjYjguR9kdx2c64EGZ8WJ/ytmcnr
>> =Q75Y
>> -----END PGP SIGNATURE-----
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>
Re: [users@httpd] Apache can't interpret a link in my webpage so the
style is not good, how I can resolve that ?
Posted by Nicolas Maujean <nm...@gmail.com>.
This problem has been resolved, the path seems to be relative to its
current path, I have no more error about that
On Thu, Aug 16, 2012 at 7:37 PM, James Moe <ji...@sohnen-moe.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 08/16/2012 10:19 AM, Nicolas Maujean wrote:
> > no, the url of the page called is :
> > http://localhost:8080/TCS/group/guest
> >
> > so it will look in http://localhost:8080/TCS/chorus-theme
> >
> No. The path is relative to the ServerRoot.
> Change "<link href="../../chorus-theme/css/..." to
> <link href="/TCS/chorus-theme/css/...".
>
> - --
> James Moe
> moe dot james at sohnen-moe dot com
> 520.743.3936
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.18 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAlAtL9MACgkQzTcr8Prq0ZOKlQCePwIk+btKYqrZMyVBjLhHjKFD
> b8EAnjYjguR9kdx2c64EGZ8WJ/ytmcnr
> =Q75Y
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
Re: [users@httpd] Apache can't interpret a link in my webpage so
the style is not good, how I can resolve that ?
Posted by James Moe <ji...@sohnen-moe.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 08/16/2012 10:19 AM, Nicolas Maujean wrote:
> no, the url of the page called is :
> http://localhost:8080/TCS/group/guest
>
> so it will look in http://localhost:8080/TCS/chorus-theme
>
No. The path is relative to the ServerRoot.
Change "<link href="../../chorus-theme/css/..." to
<link href="/TCS/chorus-theme/css/...".
- --
James Moe
moe dot james at sohnen-moe dot com
520.743.3936
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAlAtL9MACgkQzTcr8Prq0ZOKlQCePwIk+btKYqrZMyVBjLhHjKFD
b8EAnjYjguR9kdx2c64EGZ8WJ/ytmcnr
=Q75Y
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Apache can't interpret a link in my webpage so the
style is not good, how I can resolve that ?
Posted by Nicolas Maujean <nm...@gmail.com>.
no, the url of the page called is :
http://localhost:8080/TCS/group/guest
so it will look in http://localhost:8080/TCS/chorus-theme
On Thu, Aug 16, 2012 at 7:16 PM, James Moe <ji...@sohnen-moe.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 08/16/2012 10:12 AM, Nicolas Maujean wrote:
> > Apache can't interpret the following link : |<link
> > href="../../chorus-theme/css/main.css@browserId=firefox&t=1344590189623"
> >
> >
> rel="stylesheet" type="text/css" />|
> >
> "../../chorus-theme/..." is outside the ServerRoot. Doing that is
> like trying to access a directory above "c:/".
>
> - --
> James Moe
> moe dot james at sohnen-moe dot com
> 520.743.3936
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.18 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAlAtKwoACgkQzTcr8Prq0ZMiWQCdHD6c7aalcEML5wQ3U0L5jKmQ
> 2TcAoLXxrskqigcVYYQdnUV5D0/d/2Hv
> =WXmt
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
Re: [users@httpd] Apache can't interpret a link in my webpage so
the style is not good, how I can resolve that ?
Posted by James Moe <ji...@sohnen-moe.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 08/16/2012 10:12 AM, Nicolas Maujean wrote:
> Apache can't interpret the following link : |<link
> href="../../chorus-theme/css/main.css@browserId=firefox&t=1344590189623"
>
>
rel="stylesheet" type="text/css" />|
>
"../../chorus-theme/..." is outside the ServerRoot. Doing that is
like trying to access a directory above "c:/".
- --
James Moe
moe dot james at sohnen-moe dot com
520.743.3936
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAlAtKwoACgkQzTcr8Prq0ZMiWQCdHD6c7aalcEML5wQ3U0L5jKmQ
2TcAoLXxrskqigcVYYQdnUV5D0/d/2Hv
=WXmt
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Apache can't interpret a link in my webpage so the
style is not good, how I can resolve that ?
Posted by Nicolas Maujean <nm...@gmail.com>.
Apache can't interpret the following link : <link
href="../../chorus-theme/css/main.css@browserId=firefox&t=1344590189623"
rel="stylesheet" type="text/css" />
but when I open the html file directly in the browser it works, the style
is applied. if I use the url link:
http://localhost:8080/TCS/group/guest
the style is not anymore applied, it can't read
main.css@browserId=firefox&t=1344590189623.
If I rename main.css@browserId=firefox&t=1344590189623 to main.css and
change it also in the html file, the style is applied.
Could anyone help? Thank you for your answers.
On Thu, Aug 16, 2012 at 7:08 PM, James Moe <ji...@sohnen-moe.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 08/16/2012 09:55 AM, Nicolas Maujean wrote:
> > Apache can't interpret the following link but when I open the html
> > file directly in the browser it works. if I use the url link
> >
> > http://localhost:8080/TCS/group/guest
> >
> > it doesn't work anymore,
> >
> What does "doesn't work" mean? A blank page? Is there an error message?
>
> - --
> James Moe
> moe dot james at sohnen-moe dot com
> 520.743.3936
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.18 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAlAtKSoACgkQzTcr8Prq0ZOPhQCdHHA5qQnTDLXPk5QT3RPvUSOH
> a5QAn1qH/pCyT+R3n5YfSVTz6NUlg9dq
> =ClaI
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
Re: [users@httpd] Apache can't interpret a link in my webpage so
the style is not good, how I can resolve that ?
Posted by James Moe <ji...@sohnen-moe.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 08/16/2012 09:55 AM, Nicolas Maujean wrote:
> Apache can't interpret the following link but when I open the html
> file directly in the browser it works. if I use the url link
>
> http://localhost:8080/TCS/group/guest
>
> it doesn't work anymore,
>
What does "doesn't work" mean? A blank page? Is there an error message?
- --
James Moe
moe dot james at sohnen-moe dot com
520.743.3936
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAlAtKSoACgkQzTcr8Prq0ZOPhQCdHHA5qQnTDLXPk5QT3RPvUSOH
a5QAn1qH/pCyT+R3n5YfSVTz6NUlg9dq
=ClaI
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org