www-mirrors mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: http://ftp.asia.edu.tw/ftp/Apache/ - your apache mirror
Date Thu, 12 Jul 2012 00:48:55 GMT
On 11 July 2012 02:31, 潘信宏 <vincentpan@asia.edu.tw> wrote:
> Hi,
> 1. The DocumentRoot setting in httpd.conf is..
>   DocumentRoot /var/www/html
>   But the ftp directory in /var/www/html is a link directory that mapping to /msa1/MyFTP/

Try using the same path name for both.

>   So, http://ftp.asia.edu.tw/ftp/Apache/ mapping to /msa1/MyFTP/Apache should be ok,
and it
>   works fine.

No, it won't be OK because the server won't be using the path
/msa1/MyFTP/ to access the files; it will use
/var/www/html

> 2. Did you restart the server after making the changes?
>   => Yes, I restart apache each time when I modify the httpd.conf file.
>
> Thanks a lot!
>
> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com]
> Sent: Tuesday, July 10, 2012 10:59 PM
> To: 潘信宏
> Cc: apmirror@apache.org
> Subject: Re: http://ftp.asia.edu.tw/ftp/Apache/ - your apache mirror
>
> On 10 July 2012 09:37, 潘信宏 <vincentpan@asia.edu.tw> wrote:
>> Hi, thanks for your notice.
>> Out ftp server used the CentOS 5.8 and Apache 2.2.3 for web service.
>> I had try to modify the httpd.conf to...
>> <Directory /msa1/MyFTP/Apache>
>
> Are you sure that the files are located at that path?
>
> The URL is a bit different:
>
> http://ftp.asia.edu.tw/ftp/Apache/
>
> What is the DocumentRoot ?
>
> Did you restart the server after making the changes?
>
>>   IndexOptions FancyIndexing NameWidth=* FoldersFirst ScanHTMLTitles DescriptionWidth=*
>>   HeaderName HEADER.html
>>   ReadmeName README.html
>>   AllowOverride FileInfo Indexes
>>   Options Indexes SymLinksIfOwnerMatch
>>   ErrorDocument 404 default
>> </Directory>
>>
>> But, it also doesn't show the content of HEADER.html and README.html.
>> And even I created one virtualhost called apache.asia.edu.tw, it also didn't work
correctly.
>> <VirtualHost apache.asia.edu.tw>
>> DocumentRoot /msa1/MyFTP/Apache
>> ServerName apache.asia.edu.tw
>> <Directory "/msa1/MyFTP/Apache">
>>   allow from all
>>   Options +Indexes SymLinksIfOwnerMatch FollowSymLinks
>>   IndexOptions FancyIndexing NameWidth=* FoldersFirst ScanHTMLTitles DescriptionWidth=*
>>   HeaderName HEADER.html
>>   ReadmeName README.html
>>   AllowOverride FileInfo Indexes
>>   ErrorDocument 404 default
>>   Order allow,deny
>> </Directory>
>> </VirtualHost>
>>
>> Could you tell me what’s wrong with my config?
>> Thanks a lot!!
>>
>> -----Original Message-----
>> From: sebb@apache.org [mailto:sebb@apache.org] On Behalf Of apmirror@apache.org
>> Sent: Tuesday, July 10, 2012 10:10 AM
>> To: 潘信宏
>> Cc: apmirror@apache.org
>> Subject: http://ftp.asia.edu.tw/ftp/Apache/ - your apache mirror
>>
>> Hello vincentpan@asia.edu.tw,
>>
>>   Resending, as we cannot trace a response to the e-mail sent on 2012-06-30
>>
>>   looking at your apache mirror :
>>
>>     http://ftp.asia.edu.tw/ftp/Apache/
>>
>>   we noticed that your mirror doesn't show the HEADER.html
>>   and/or README.html pages correctly in directory listings.
>>   For example, compare
>>
>>     http://ftp.asia.edu.tw/ftp/Apache/commons/
>>
>>   with
>>
>>     http://www.apache.org/dist/commons/
>>
>>   The contents of HEADER.html must be displayed at the
>>   start of the listing, and README.html must be shown
>>   as the footer.
>>
>>   Please look (again) at our 'how-to-mirror' :
>>
>>     http://www.apache.org/info/how-to-mirror.html
>>
>>   In particular the configuration options:
>>
>>     http://www.apache.org/info/how-to-mirror.html#Configuration
>>
>>   Can you fix the problem please?
>>
>>   Note that :
>>   -- we require that Apache mirrors use an Apache web server ;
>>   -- non-compliant mirrors may be removed from the list without further notice.
>>
>>   Thanks,
>>
>>   From apache.org infrastructure
>>

Mime
View raw message