Hi,
I have in the public_html an index.html file that is not show as it can be seen from the following:
I receive an error, when:
(1) go to http://tracking-net.com
- 403 error Forbidden - You don't have permission to access / on this server
(2) go to https://tracking-net.com
- Index of /
[ICO] Name Last modified Size Description
For the first case i got an error: Directory index forbidden by Options directive: /home/tracking-net/public_html/
For the second case no error, but not seen / read index.html.
Thanks in advance,
I run php -v and I got the following:
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php.ini on line 386 in Unknown on line 0 Failed loading /usr/local/ioncube/ioncube_loader_lin_5.5.so: /usr/local/ioncube/ioncube_loader_lin_5.5.so: wrong ELF class: ELFCLASS64 PHP 5.5.11 (cli) (built: Apr 6 2014 12:44:25) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
Howdy,
Hmm, it does appear that there's something wrong with the ioncube loader that's being used, but I don't think that's the cause of the issue you're seeing at the moment.
Can you verify in $HOME/logs/access_log, that you can see the incoming connection attempt from your IP address, when you try to access the website?
Also, is there a .htaccess file in your public_html folder? If so, do you see the same problem if you try moving it elsewhere?
And lastly, do you receive the same error if you add "/index.html" to the end of the domain name you're browsing to?
-Eric
Hi,
No .htaccess in public_html folder
Mon Apr 28 16:26:42 2014] [error] [client 5.12.170.139] Directory index forbidden by Options directive: /home/tracking-net/public_html/ [Mon Apr 28 16:42:58 2014] [error] [client 5.12.170.139] Directory index forbidden by Options directive: /home/tracking-net/public_html/ [Mon Apr 28 16:50:24 2014] [error] [client 5.12.170.139] Directory index forbidden by Options directive: /home/tracking-net/public_html/ [Mon Apr 28 16:50:42 2014] [error] [client 5.12.170.139] File does not exist: /home/tracking-net/public_html/index.html
chmod of the public_html is set to 755
I manage to fix the ioncube installation:
root@myVPS14748 ~]# php -v PHP 5.3.3 (cli) (built: Dec 11 2013 03:15:48) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
thanks a lot
Howdy,
Hmm, you mentioned that there was an index.html file there -- however, one of the errors I see in the logs is this one:
File does not exist: /home/tracking-net/public_html/index.html
That suggests that there isn't actually an "index.html" file in the public_html folder in "/home/tracking-net/public_html/".
If you run this command, what output do you see:
ls -l /home/tracking-net/public_html/
hi
here what I got:
much obliged
Mihai
Howdy,
Ah, filenames are case-sensitive -- it looks like you have the file "Index.html", and not "index.html".
Try renaming that file to have a lower-case "i", that should solve the problem you're seeing.
-Eric
Hi there,
I will rename the index.html and come back. Right now I am not in front of the computer. Thanks again for all the support.
Mihai
Hi,
I just run the line again and got...the same:
and what I got - apparently my hostname was written with an "y" - myVPS14748.tracking-net.comy (see below) - from where can I correct this error?
and finally when I try to add the second name server - respectively ns2.tracking-net.com in the Bind Server I get the following error:
So I got to reverse the change and have only one name server ns1.tracking-net.com.
thanks
Mihai
Howdy,
Could you try accessing /index.html on that particular domain, and then show us the logs that are generated in $HOME/logs/access_log?
The issue you're seeing with your hostname doesn't appear to be related to this particular issue... I'd suggest solving your original problem first (or opening a new Forum post for your hostname issue), that will help us keep the various topics separate. Thanks!
-Eric
Hi,
First issue...how it seems to work well, it sees the index.html file and is loading it....The only think I do, it was not to log in for half a day...:)
Thanks for you support
Mihai
For the other issue I will follow your advice...