I have setup a development server for an issue(see No Input File Specified - Joomla), all is working correct now on the development server apart from no images on the site or inside the administration menu are loading.
When I try to look at them individually they are 403 forbidden.
http://37.26.108.168/~arbersho/
All directories are 755, all files are 644 and the owner is the correct one.
Is this because of the temporary URL and will this be fixed by pointing the domain over?
Thanks again
This was a htaccess issue which is fixed.
Related
I have a website hosted on ovh.
I'm uploaded the source files in www directory and now when i try to access to my home page website i have this error : The requested URL / was not found on this server. In the www directory i have an index.html file.
Can you help me please.
Make sure that your hostname is pointing to the right folder.
For OVH, you usually need to check the "Multisite" or the "Subdomain" settings to configure on which folder the user lands, depending on the (sub)domain.
For OVH webhosting, each domains or subdomains is handle by a "multisite". You can setup a different folder for each multisite.
Did you check your multisite is setup for your "www" folder?
Actually, in my localhost, my website run without any problem.
However, in the living server, there are some problem of showing image.
If I put image in the web root, image can be showed in web. But if I put image into folder, image can't be showed.
Example:
/post/1/1.jpg
If I click the link directly:
http://website/post/1/1.jpg
it will be error 403. As below:
Forbidden
You don't have permission to access /post/1/1.jpg on this server.
Server unable to read htaccess file, denying access to be safe
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Discover some hints:
If I put all files into the web root, including codeigniter framework itself.
The website run without any problem.
However, it is not the good practice. Actually, I want to put the codeigniter framework out of the web root.
Open your FTP via Filezila or any other program. navigate to your root folder and find the folder /post/ right click on it and change the select File Permissions... change it to 755 and re view the image in the browser.
Thanks for all reply.
I find the solution.
1) codeigniter framework can place out of web root without changing .htaccess file.
2) folder of image should be place under web root.
3) make sure the folder of image are 755 / 777 file permission.
This is my first time working with SFTP. I'm used to using a cPanel with a hosting company (like JustHost or GoDaddy, etc.).
I'm able to log in to my SFTP server through FileZilla and I'm able to upload files onto the server but when I go to visit the page on my web browser, it gives me a 404 error. For example, let's say my IP address for the server is:
123.45.67.89
I have the logins and I use them in FileZilla and put files in. And then I want to navigate to a file (in this case I'll use the phpMyAdmin directory I've created since that's what I'm trying). In the browser I write:
123.45.67.89/phpMyAdmin/setup/
This directory exists and has an index.php file in it but when I try to go to it, the browser gives me a 404 error. Am I missing a step here? Do I need to somehow work the login credentials into the URL? I've tried other paths too and they don't work either.
Thanks for your help!
EDIT
I just realized that with SFTP, the browser uses the information that's in the /var/www/html/ folder to display. I can navigate to those directories by just simply typing the directory name in. I suppose my question now is how do I get to the root directory in my web browser. Using just the 123.45.67.89/ defaults to the /var/www/html/ folder...
Which web server do you use? If it's Apache you should learn about apache virtual hosts and modify the apache configuration file (usually on /etc/apache2).
See here for more details.
After duplicating our web store onto a new server, copying the database over and changing the base url/safe base url in the db, all we get from the copied installation is the front page. That is, no custom url redirects work (for products, the admin panel, etc.), they all result in a 404 (and not the magento 404, the server default). Do you have any ideas what I could check out? Could there be an issue with one of the libraries included in magento?
I tried reindexing with /shell/indexer.php - which executed successfully but didn't fix the redirects.
Any ideas? Note I cannot access the admin panel via /admin because of this issue.
Edit: solution was .htaccess file missing in root directory
I added the sample htaccess file from the magento installation (I uploaded a copy in case someone finds it useful: http://sdrv.ms/13mw8Ok), and mod_rewrite was activated the next time I visited the site.
Make sure your vhosts file is setup correctly to allow mod_rewrite
Make sure your .htaccess file is setup correctly
How to enable mod_rewrite for Apache 2.2
You can access your admin through /index.php/admin in the meanwhile.
am using codeigniter 2.
when i use the below i cant get the image.
application/views/admin/images/image.png
folder structure is correct.but the image is not coming there.from view
source option i got the following
403 Forbidden
Forbidden
You don’t have permission to access /application/views/admin/images/image.png
on this server.
am on local server wamp.
if i put the image on root i can get it
but i was uing similar folder structures with codeigniter 1.7.3 those were working for me
i dont know why its not with ci2 or i mde any mistake…..
Only .php view files are supposed to exist within the /application/views directory. You should store images in a directory like /images or /assets in the web root.
there may be .htaccess file in your root what deny write.
Rename .htaccess and try again.
if it works, you may edit .htaccess