Skip to content
WJunction - Webmaster Forum

Very Strange issue Apache

Status
Not open for further replies.
Hello,
I'm hosting websites for over 2 years on self managed servers, so I know the basic stuff.
I'm getting a very strange issue, which its like a paranormal activity, its not logic, and really got no idea how to solve or what to find.

I'm using Centos & Apache, and trying to add a Virtual Host.
I'm adding it, its resolving correctly and I have an image hosting script which works correctly on other domains on the same server, using the same directive.
So putting the script to domain 1 work perfect, and putting to domain 2, I get a 404 when trying to upload an image. Same .htaccess !

How could this be possible and any ideas where to look and how to solve it?
 

5 comments

Hi, try:

Code:
<virtualhost *:80>
                ServerAdmin your@email.com
                ServerName yourwebsite.com
                ServerAlias www.yourwebsite.com yourwebsite.com
                DocumentRoot /home/facebookimg.com
                <directory home/facebookimg.com>
                                Options -Indexes
                                AllowOverride All
                </directory>
</virtualhost>
However, you should create a www folder in home / youruser
 
Status
Not open for further replies.

About the author

U
Active Member · Joined
174
Messages
11
Reactions
18
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom