rhel6 - Getting 301 Moved Permanently from Apache HTTPD -


i trying create local repository on rhel 6 vm in azure using apache httpd, getting 301 when try curl on path.

$ yum install httpd 

i 2.2.15 version default.

then untar tarball in /var/www/html

and when try curl:

$ curl --head http://<fqdn>/hdp/hdp-utils-1.1.0.21/repos/centos6/ 

i result:

1.1.0.21/repos/centos6 http/1.1 301 moved permanently date: tue, 08 nov 2016 11:11:03 gmt server: apache/2.2.15 (red hat) location: http://<fqdn>/hdp/hdp-utils-1.1.0.21/repos/centos6/ connection: close content-type: text/html; charset=iso-8859-1 

however, when moved original compressed file (tar.gz) within /var/www/html, , try curl on that, 200.

what should configuring correct this?


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -