 |
|
 |
|
Next: Running Firewall on Apache Server
|
| Author |
Message |
External

Since: Jul 01, 2003 Posts: 2
|
(Msg. 1) Posted: Tue Jul 01, 2003 4:21 pm
Post subject: Apache not displaying index.html.en Archived from groups: alt>apache>configuration (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Jul 01, 2003 Posts: 2
|
(Msg. 2) Posted: Tue Jul 01, 2003 4:31 pm
Post subject: Re: Apache not displaying index.html.en [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
"canbe" <daveokeeffe.TakeThisOut@N.O.S.P.A.M.blueyonder.co.uk> wrote in message
news:lVfMa.563$kx.4159156@news-text.cableinet.net...
> Hey all,
>
> Just installed Apache 2.
>
> When i type <a style='text-decoration: underline;' href="http://server/manual" target="_blank">http://server/manual</a> - i get a 404
>
> If i type <a style='text-decoration: underline;' href="http://server/manual/index.html.en" target="_blank">http://server/manual/index.html.en</a> it works, and shows the index
> page. Also, any link from the index page fails, because the links are to
> .html but the files are .html.en
>
> I have the following set:
>
> DirectoryIndex index.php index.htm index.html index.html.var
>
> So, my question is:
>
> Is there something i need to enable, to have the .en files read and
served?
>
> Any help is much appreciated
>
> Dave
>
>
Just had a quick look thru httpd.conf and found a list of AddLanguage
directives: There are LOTS of Languages set, but there *is*:
AddLanguage en .en
Language Priority en da nl etc....
So why are my .html.en files not working?  \
Cheers<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: Apache not displaying index.html.en |
|
| Back to top |
|
 |  |
External

Since: Nov 02, 2003 Posts: 31
|
(Msg. 3) Posted: Wed Jul 02, 2003 2:44 am
Post subject: Re: Apache not displaying index.html.en [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Tue, 1 Jul 2003, canbe wrote:
> Hey all,
>
> Just installed Apache 2.
>
> When i type <a style='text-decoration: underline;' href="http://server/manual" target="_blank">http://server/manual</a> - i get a 404
>
> If i type <a style='text-decoration: underline;' href="http://server/manual/index.html.en" target="_blank">http://server/manual/index.html.en</a> it works, and shows the index
> page. Also, any link from the index page fails, because the links are to
> .html but the files are .html.en
>
> I have the following set:
>
> DirectoryIndex index.php index.htm index.html index.html.var
>
> So, my question is:
>
> Is there something i need to enable, to have the .en files read and served?
>
> Any help is much appreciated
No - or probably not. I assume that you do have "Content Negotiation" enabled.
When linking to a content negotiated page, you should not specify "index.html"
(e.g.) but simply "index".
Your DirectoryIndex directive has no simple entry of "index" in it.<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: Apache not displaying index.html.en |
|
| Back to top |
|
 |  |
External

Since: Jul 03, 2003 Posts: 4
|
(Msg. 4) Posted: Thu Jul 03, 2003 6:21 am
Post subject: Re: Apache not displaying index.html.en [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
canbe wrote:
> Hey all,
>
> Just installed Apache 2.
>
> When i type <a style='text-decoration: underline;' href="http://server/manual" target="_blank">http://server/manual</a> - i get a 404
>
> If i type <a style='text-decoration: underline;' href="http://server/manual/index.html.en" target="_blank">http://server/manual/index.html.en</a> it works, and shows the index
> page. Also, any link from the index page fails, because the links are to
> .html but the files are .html.en
>
> I have the following set:
>
> DirectoryIndex index.php index.htm index.html index.html.var
>
> So, my question is:
>
> Is there something i need to enable, to have the .en files read and served?
>
> Any help is much appreciated
>
> Dave
>
>
make sure you're loading mod_negotiation and have:
DirectoryIndex index.html index.html.var
AddLanguage en .en
in your httpd.conf
mike.<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: Apache not displaying index.html.en |
|
| Back to top |
|
 |  |
External

Since: Jul 03, 2003 Posts: 4
|
(Msg. 5) Posted: Thu Jul 03, 2003 6:23 am
Post subject: Re: Apache not displaying index.html.en [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
canbe wrote:
> Hey all,
>
> Just installed Apache 2.
>
> When i type <a style='text-decoration: underline;' href="http://server/manual" target="_blank">http://server/manual</a> - i get a 404
>
> If i type <a style='text-decoration: underline;' href="http://server/manual/index.html.en" target="_blank">http://server/manual/index.html.en</a> it works, and shows the index
> page. Also, any link from the index page fails, because the links are to
> .html but the files are .html.en
>
> I have the following set:
>
> DirectoryIndex index.php index.htm index.html index.html.var
>
> So, my question is:
>
> Is there something i need to enable, to have the .en files read and served?
>
> Any help is much appreciated
>
> Dave
>
>
further to my last post:
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
# The index.html.var file (a type-map) is used to deliver content-
# negotiated documents. The MultiViews Option can be used for the
# same purpose, but it is much slower.
from the default httpd.conf
mike.<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: Apache not displaying index.html.en |
|
| Back to top |
|
 |  |
| Related Topics: | Odd apache header (~~~~~~~~~~~~~~:) - Anyone know what this header is? My copy of apache returns it, and I've seen others do it too. Richard.
Apache doesn't start - When I try to start Apache, I got the following error: <32548> only one usage of each socket address <> is normally permitted. make_sock: could not bind to address 0.0.0.0:80. I've looked for answers all over the FAQ, bug report, manuals and...
Using Java to modify Apache...? - Has anyone found any Java-based utilities or code to modify the Apache configuration? I need to write something that will modify (parts of) the apache configuration (httpd.conf) and then re-start the server so that the changes are recognized. Thanks.
Apache+Tomcat+Cocoon - Anyone ever get those 3 latest-stable release ever work? I got Apache+Tomcat works fine. But I can't get Cocoon to work. All I got when I did http://localhost:8080/cocoon is a directory listing. Helps are greatly appreciated. PS: Its too confusing to....
Known issues with running Apache and IIS simultaneously? - Hello, My company is considering running Apache and IIS together on one server. I have researched the possibilities of doing this on the web, but I have found little information apart from basic configuration instructions and some known configuration.. |
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
 |
|
|