Hello everyone. Im currently stuck in a situation that I cannot seem to figure out.
I have 2 blogs now. My main blog is located via http://blakeivey.com/blog and the second is korea.blakeivey.com.
I am having trouble with the korea.blakeivey.com blog: No images appear in the themes (and possibly other errors I havent noticed off the bat). When trying to view them directly via http://www.blakeivey.com/korea/template ... /blank.gif you get a forbidden error.
My .htaccess is the same as the main blog, all the permissions appear to be set properly...and I dont know what else to do. I believe all the paths are setup properly since everything seems to be linked fine...just the images give you a forbidden error.
Any suggestions? Thanks!
Forbidden Error
-
Blake_Ivey
- Regular
- Posts: 36
- Joined: Wed Dec 22, 2004 5:50 pm
- Location: Georgia
- Contact:
Forbidden Error
Blake Ivey
http://www.blakeivey.com
http://www.blakeivey.com
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Forbidden Error
Hi!
An access forbidden error usually means, there IS something wrong with permissions. The second error about the 404 means that your .htaccess file in fact is wrong.
How does it look like?
Regards,
Garvin
An access forbidden error usually means, there IS something wrong with permissions. The second error about the 404 means that your .htaccess file in fact is wrong.
How does it look like?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Blake_Ivey
- Regular
- Posts: 36
- Joined: Wed Dec 22, 2004 5:50 pm
- Location: Georgia
- Contact:
.htaccess inside subdomain directory:
I dunno what permission because I did everything just like the working installation...its just on a subdomain...
Thanks for the response!
Code: Select all
# BEGIN s9y
DirectoryIndex /index.php
<Files *.tpl.php>
deny from all
</Files>
<Files *.tpl>
deny from all
</Files>
<Files *.sql>
deny from all
</Files>
<Files *.inc.php>
deny from all
</Files>
<Files *.db>
deny from all
</Files>
# END s9y
Thanks for the response!
Blake Ivey
http://www.blakeivey.com
http://www.blakeivey.com
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
First, the DirectoryIndex needs to read "/korea/index.php", because that seems to be your basedir.
Check again the file ownership and file permissions of each GIF file and each subdirectory leading to that directory.
Regards,
Garvi
Check again the file ownership and file permissions of each GIF file and each subdirectory leading to that directory.
Regards,
Garvi
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Blake_Ivey
- Regular
- Posts: 36
- Joined: Wed Dec 22, 2004 5:50 pm
- Location: Georgia
- Contact:
adding /korea/index.php made the blog show the document root of the directory...
So, should it just be /index.php since the subdomaina lready points to the directory as its web-directory?
The permissions look fine to me...I just checked and double checked...nothing it catching my eye.
Thanks
So, should it just be /index.php since the subdomaina lready points to the directory as its web-directory?
The permissions look fine to me...I just checked and double checked...nothing it catching my eye.
Thanks
Blake Ivey
http://www.blakeivey.com
http://www.blakeivey.com
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
In the domain link you posted:
http://www.blakeivey.com/korea/template ... /blank.gif
There is a "/korea" path there which seems to be your base directory for Serendipity. Thus, the .htaccess file in the "korea" subdirectory needs to point to /korea/index.php.
However, I just see, shouldn't the link be:
http://korea.blakeivey.com/templates/de ... /blank.gif
?
You should check your Webservers and PHPs ErrorLog to see why a Forbidden Error happens.
Regards,
Garvin
In the domain link you posted:
http://www.blakeivey.com/korea/template ... /blank.gif
There is a "/korea" path there which seems to be your base directory for Serendipity. Thus, the .htaccess file in the "korea" subdirectory needs to point to /korea/index.php.
However, I just see, shouldn't the link be:
http://korea.blakeivey.com/templates/de ... /blank.gif
?
You should check your Webservers and PHPs ErrorLog to see why a Forbidden Error happens.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Blake_Ivey
- Regular
- Posts: 36
- Joined: Wed Dec 22, 2004 5:50 pm
- Location: Georgia
- Contact:
You're right with the url mismatch, sorry about that.
About the .htaccess though; I added /korea/index and it didnt load the page, but instead showed the directory root of the entire folder. Looking at my blakeivey,com/blog's .htaccess (which the blog is inside a dirctory called 'blog') it doesn't say /blog/index.php. I'm not a genius when it comes to .htaccess, so that obviously doesn't help.
Im not even quite sure where to find the php errorlog in cPanel, its my first webhost, I always hosted my own stuff before.
I may email the host and see if they can find something wrong with it. Before they fixed something in my .htaccess that was screwing up the subdomain.
*UPDATE* I just installed wordpress to see what would happen and its images are not showing up either. I'm going to email my host, maybe they will see it.
*ANOTHER UPDATE*
My host has fixed the problem and gave me this explanation:
This is fixed now. Please make note that the server has phpsuexec installed and thus any rewrite rules and php_flag inside a .htaccess won't work. Moreover a directory can have max permission of 0755 and a file of 0644. Please let us know if you need further assistance.
About the .htaccess though; I added /korea/index and it didnt load the page, but instead showed the directory root of the entire folder. Looking at my blakeivey,com/blog's .htaccess (which the blog is inside a dirctory called 'blog') it doesn't say /blog/index.php. I'm not a genius when it comes to .htaccess, so that obviously doesn't help.
Im not even quite sure where to find the php errorlog in cPanel, its my first webhost, I always hosted my own stuff before.
I may email the host and see if they can find something wrong with it. Before they fixed something in my .htaccess that was screwing up the subdomain.
*UPDATE* I just installed wordpress to see what would happen and its images are not showing up either. I'm going to email my host, maybe they will see it.
*ANOTHER UPDATE*
My host has fixed the problem and gave me this explanation:
This is fixed now. Please make note that the server has phpsuexec installed and thus any rewrite rules and php_flag inside a .htaccess won't work. Moreover a directory can have max permission of 0755 and a file of 0644. Please let us know if you need further assistance.
Blake Ivey
http://www.blakeivey.com
http://www.blakeivey.com