We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Internal 500 Server Error | Forum

Narayan
Narayan Dec 7 '10
my all subdomain is now showing this Error internal server error.now my all subdoamin is not working please help me how to sholove this problem oxwall is running fine in main domain but rest of domain is notworking please help me out.

Thanks
mitra4ever.com
forum.mitra4vere.com it's working when i chenged htcsss. txt
photo.mitra4vere.com its not working
wallpaper.mitra4ever.com its not working
The Forum post is edited by Narayan Dec 8 '10
Den Team
Den Dec 8 '10
Would you list content of your .htaccess file?
Narayan
Narayan Dec 8 '10
Thank you for replying here is my OXwall htaccesss file.
.txt is oxwall file and
i have capt new htaccess file .


Thanks In Advance
The Forum post is edited by Narayan Dec 8 '10
Attachments:
  htaccess.txt (0.36Kb)
Den Team
Den Dec 16 '10
Some thing wrong with mod_rewrite on your server. Check it please.
Den Team
Den Dec 16 '10
Topic was moved from Oxwall.org.
Rivu
Rivu Dec 23 '10
You should add lines:
RewriteCond %{REQUEST_URI} !wallpaper/^/
RewriteCond %{REQUEST_URI} !photo/^/

after "RewriteRule (.*) /http-bind [L..." line.

Post if it worked. :)
The Forum post is edited by Rivu Dec 23 '10
Israel
Israel Jan 25 '11
I've got just about the same problem. I have been test running Oxwall in a sub-directory on my primary domain (www.smssenda.com/oxwall). I have edited and arranged the features the way I want but I'm faced with the challenge of making it become the main domain (www.smssenda.com).

I tried moving all the files to the public_html of my primary domain but it affected my other add-on domains...they all went offline.

I spoke with my host providers and the best they could do was restore my original .htaccess file so that my add-on domains could come online again. They said they couldn't give me any support for 3rd party scripts.

I am in a fix now and don't know what next to do. Please I need help on this as soon as possible.
Rivu
Rivu Jan 25 '11
again,

You should add lines:
RewriteCond %{REQUEST_URI} !example-subdomain-1-prefix/^/
RewriteCond %{REQUEST_URI} !example-subdomain-2-prefix/^/

after "RewriteRule (.*) /http-bind [L..." line.

hope it'll work :)
Israel
Israel Jan 25 '11
Thanks for your reply Rivu. My issue precisely is with my add-on domains going offline and I don't think this code will work in my .htaccess file.
Besides, this is what I see in my .htaccess file when I view it with Notepad.

# Use PHP5 Single php.ini as default
AddHandler application/x-httpd-php5s .php

Please let me know how I can carry on from here.
Israel
Israel Jan 28 '11
Hello Rivu, I tried out your suggestion but I keep getting this 500 internal server error. Please see attached .htaccess file to know if I got it right.
Israel
Israel Jan 28 '11
Sorry, I tried attaching the file but was unable to. Here its content anyway

Options +FollowSymLinks
RewriteEngine On

RewriteCond %{REQUEST_URI} .*/http-bind
RewriteRule (.*) /http-bind [L]

RewriteCond %{REQUEST_URI} !www.smsdew.com/
RewriteCond %{REQUEST_URI} !www.bulksms4me.com/
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} !/ow_updates/index.php
RewriteCond %{REQUEST_URI} !/ow_updates/
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]

RewriteRule (.*) index.php
Den Team
Den Jan 31 '11
@Israel
Try to change your lines:

RewriteCond %{REQUEST_URI} !www.smsdew.com/
RewriteCond %{REQUEST_URI} !www.bulksms4me.com/

to:

RewriteCond %{HTTP_HOST} !www\.smsdew\.com$
RewriteCond %{HTTP_HOST} !www\.bulksms4me\.com$
The Forum post is edited by Den Jan 31 '11
Myzik
Myzik Sep 30 '23

Try this

RewriteCond %{HTTP_HOST} !^subdomain1\.example\.com$ RewriteCond %{HTTP_HOST} !^subdomain2\.example\.com$