mod_rewrite not supported

  • madmonk
  • Mastermind
  • Mastermind
  • madmonk
  • Posts: 2115
  • Loc: australia

Post 3+ Months Ago

hi guys. my webserver does not support mod_rewrite for my phpBB>
:?

I was trying my .htaccess in my webserver and error 500 came up.
Is there any other way around mod_rewrite?
  • Axe
  • Genius
  • Genius
  • User avatar
  • Posts: 5739
  • Loc: Sub-level 28

Post 3+ Months Ago

not easily... Is your web server even running Linux? Could you have a word with your host and get him to enable it?

It surprises me that a hosting company wouldn't allow this.
  • Managedlinks
  • Proficient
  • Proficient
  • Managedlinks
  • Posts: 294

Post 3+ Months Ago

Are you sure its the mod_rewrite thats disabled ?
.htaccess is a sensitive file if there is a small error you get a server 500 error.

make sure your syntax is perfect

mod_rewrite is not enabled by default so your sys admin may have chosen to leave it out or perhaps overlooked it.

Ask them, they will probably switch it on. the fact that they let you use .htaccess points to them being liberal. I had to argue the point with my ISP before they would allow it.
  • madmonk
  • Mastermind
  • Mastermind
  • madmonk
  • Posts: 2115
  • Loc: australia

Post 3+ Months Ago

my web server does nto support mod rewrite
but I have paid for it already.
for a year :(

that mean I can't change servers

Need to get this straight. mod rewrite's main purpose is for making static urls - more search friendly.

So, how bad will I fare without mod rewrite?
  • rjstephens
  • Professor
  • Professor
  • User avatar
  • Posts: 774
  • Loc: Brisbane, Australia

Post 3+ Months Ago

just tell them to install it.

If they don't, they aren't a very good host.

Now, the main reason that mod_rewrite is important is because search engines don't particularly like pages with similar names, so if you do all of these, you might not be too much worse off than you would otherwise have been

- make the actual file name of the script as short as possible (2 or 3 characters)
- minimize the amount of stuff after the ?. If your scripting language allows it, DON'T send things there as form parameters, instead just use, for example "?contact".
- You COULD put .html on the end of the page request address but this could be seen as cheating
  • Axe
  • Genius
  • Genius
  • User avatar
  • Posts: 5739
  • Loc: Sub-level 28

Post 3+ Months Ago

Please do not start new threads for the same subjects you've already raised.

This thread has been merged with your existing one.
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Posts: 9099
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

madmonk wrote:
my web server does nto support mod rewrite
but I have paid for it already.
for a year :(


First how do you know your web server does not support mod rewrite. Did you ask your host? Or are you just assuming that.

What I would do if I were you is email your host and find out if you are able to use Mod_Rewrite. If you are not able to use Mod_Rewrite then ask if they can enable it. If they say Mod_Rewrite is already enabled then you can try to focus on why you are getting the error. If they say it is not enabled and they will not install the mod so that you can use it, then I guess you made a bad decision to host with them.
  • madmonk
  • Mastermind
  • Mastermind
  • madmonk
  • Posts: 2115
  • Loc: australia

Post 3+ Months Ago

sorry for raising threads of same topic.
I got disconnected and must have posted again :oops:

Quote:
First how do you know your web server does not support mod rewrite. Did you ask your host?


I asked them. They told me that mod rewrite's not supported.
  • madmonk
  • Mastermind
  • Mastermind
  • madmonk
  • Posts: 2115
  • Loc: australia

Post 3+ Months Ago

They won't install it. I have just asked them.
I have assumed that they support .htaccess when i started hosting.

deep *plum*. heh/

bad hosting.
So now, what? wait patiently for contract to end?
that's all I can do? :lol:
  • Axe
  • Genius
  • Genius
  • User avatar
  • Posts: 5739
  • Loc: Sub-level 28

Post 3+ Months Ago

Or state that you're not happy with the service, did not get the features you expected, and would like a refund for the remainder of your subscription.
  • Managedlinks
  • Proficient
  • Proficient
  • Managedlinks
  • Posts: 294

Post 3+ Months Ago

but first get a new ISP ready. If they crack the poo's you may be unprepared.

AND make sure you own the domain name! I had an acquantance who moved ISP'S the ISP then sold his very popular domain name and he was unable to get it back!

I am currently moving to a new VPS and have had to be very carefull about my domain name as my ISP was the one who registered it for me. I don't believe they will do anything wrong but it pays to be carefull.
  • madmonk
  • Mastermind
  • Mastermind
  • madmonk
  • Posts: 2115
  • Loc: australia

Post 3+ Months Ago

thanks for the reminder about domain name. Will take note of it.:-)
I have already expressed my concerns on mod rewrite to them.

My aim is to implement the pages to make it more static to spiders.

They asked me to use cgi scripts instead.hmm.but i don't know nothing about cgi scripts.

So, before I jump into cgi scripts. I better check with u guys,

Is there any possible downside/ cons of using cgi scripts?
what to look out for ?

that sort of stuffs... :?
  • Axe
  • Genius
  • Genius
  • User avatar
  • Posts: 5739
  • Loc: Sub-level 28

Post 3+ Months Ago

CGI is even less friendly to the search engines than PHP.

CGI as a general rule means Perl. Perl is a pain in the ass for the most part. Are they running Windows servers or something? Did you ask them why they won't/can't enable mod_rewrite support, or even if it is a case of won't or can't?
  • madmonk
  • Mastermind
  • Mastermind
  • madmonk
  • Posts: 2115
  • Loc: australia

Post 3+ Months Ago

CGI is less friendly to search engines> point taken.

They are running on Unix servers. And they said that mod rewrite's not allowed coz it's a security risk.

Reason for them to disallow mod rewrite in the first place, is that "mod rewrite overrides the function of the httpd and our admin wanted to secure the httpd"

pretty confusing if you ask me..
what do they mean by "secure httpd" ?

dude man. totally confusing for a beginner like me.
aniwae, I requested (sent email )for mod rewrite to be enabled.
  • Axe
  • Genius
  • Genius
  • User avatar
  • Posts: 5739
  • Loc: Sub-level 28

Post 3+ Months Ago

ALL mod_rewrite does is rewrite URLs.. That's it...

http://httpd.apache.org/docs/mod/mod_rewrite.html

It doesn't affect any security. Sounds to me like they simply have no idea what they're doing.
  • Managedlinks
  • Proficient
  • Proficient
  • Managedlinks
  • Posts: 294

Post 3+ Months Ago

I haven't given it any thought but would it be possible to rewrite a url so that it gives you access to parts of the file sytem outside of the home folder?

This would definately be insecure, especially if the host is apache on Win.

As I said I havent tried it. so I am only guessing

Oh and PERL is beautiful, PHP is a pain! ;)
  • madmonk
  • Mastermind
  • Mastermind
  • madmonk
  • Posts: 2115
  • Loc: australia

Post 3+ Months Ago

nice suggestion but i don't think it will work.

For the time being, i think i will leave the forum as it is. php.
my hosting company is seeing to the mod rewrite, maybe they will try to implement in another server .
Fairly new company but I Can't complain much about them coz their service has been really good so far

perhaps try mod rewrite later. thanks guys for the help so far! :lol:
  • Axe
  • Genius
  • Genius
  • User avatar
  • Posts: 5739
  • Loc: Sub-level 28

Post 3+ Months Ago

Managedlinks wrote:
I haven't given it any thought but would it be possible to rewrite a url so that it gives you access to parts of the file sytem outside of the home folder?


mod_rewrite only changes URLs. It won't allow you to access things that Apache can't normally access anyway.
  • Managedlinks
  • Proficient
  • Proficient
  • Managedlinks
  • Posts: 294

Post 3+ Months Ago

Thanks Axe. I thought so. just wasnt 100% sure.

With his ISP mentioning security probs. I thought perhaps it was possible. say with a "relative" url.

Post Information

  • Total Posts in this topic: 19 posts
  • Users browsing this forum: No registered users and 43 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.