Hello,
I want to configure below urls in web server. When browse the below url then it will ask for download for both the urls. Also when we just browse http://serveripaddress/pqrs url it will not show any files. It will display file permission error or blank page. Please find the details for the same.
http://serveripaddress/pqrs/xyz1.exe
http://serveripaddress/pqrs/xyz2.exe
OS:- CentOS-6.5
Apache version:- 2.2.15
Thanks,
Imran Khan.
configure download urls in apache
Re: configure download urls in apache
Hello and welcome to the fora,
do you have the content wher it should be? Meaning at /var/www/html/pqrs/
do you have the content wher it should be? Meaning at /var/www/html/pqrs/
New users: take a look at this page
-
- Posts: 7
- Joined: 2014/08/13 16:30:23
Re: configure download urls in apache
Hello,
Thanks for the reply.
Yes. Files xyz1.exe and xyz2.exe on the /var/www/html/pqrs/ path.
Thanks,
Imran Khan.
Thanks for the reply.
Yes. Files xyz1.exe and xyz2.exe on the /var/www/html/pqrs/ path.
Thanks,
Imran Khan.
-
- Posts: 7
- Joined: 2014/08/13 16:30:23
Re: configure download urls in apache
Hello,
Any help/suggestion?
Thanks,
Imran Khan.
Any help/suggestion?
Thanks,
Imran Khan.
Re: configure download urls in apache
If you get a permission error when trying to see the page index then perhaps you have indexes turned off for that directory? The files you place in that directory will of course need to be readable by the user that httpd runs under and the selinux contexts will need to be set correctly. The easiest way to ensure the selinux contexts are correct is to run restorecon -r /var/www/html
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke