Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Install problems: where does this file reside?


Go to End


10 Posts   7356 Views

Avatar
Soreng

4 Posts

17 October 2007 at 4:29am

Hi everyone,

I'm having installation problems...

I got as far through the installation that I got the famous "green screen" when filling out my info and chose to install. After the automatic installation, I'm getting this:

----------
mod_rewrite doesn't appear to be working. Make sure:
mod_rewrite is enabled in your httpd.conf
AllowOverride is enabled for the current path.
Please check these options, then refresh this page.If you believe that your configuration is correct, click here to proceed anyway.
----------

Where is this infamous httpd.conf file residing? If it's any help - I'm hosted with www.godaddy.com

Thanks - any help will be appreciated :-)

Regards,
Soren

Avatar
johndavenport

9 Posts

17 October 2007 at 5:05am

Hi Soren,

Have you tried to CHMOD the files on your site via FTP? Depending on your FTP application you can just right click the .htaccess and set the permissions to 777. Since I don't use Godaddy I don't know how they work as a host but mod_rewrite is normally set to on if I am not mistaken.

Have you had mod_rewrite problems with other CMS or blogs like Wordpress?

Try that first and let me know if that does not work.

Avatar
Soreng

4 Posts

17 October 2007 at 5:19am

Hi John,

I changed the permission to 777, but it didn't work. I've never had rewrite problems when I previously have installed e.g. Drupal, Joomla!, and Wordpress. These installs went right through (well... nearly:-)

Soren

Avatar
xeraa

Community Member, 58 Posts

17 October 2007 at 5:57am

Edited: 17/10/2007 6:00am

1) it would have been helpful to add what operating system you are actually using (i have no clue what godaddy uses for your specific account).

2) what happens if you just force it to continue? i'm always getting the same warning on windows and if forced it will just work fine.

3) if it miserably fails, check if mod_rewrite is really enabled and working.
i would first take a look what

 phpinfo(); 
says (module generally enabled in apache?). then you could try mod_rewrite itself, for example with "A simple mod_rewrite example" from http://www.workingwith.me.uk/articles/scripting/mod_rewrite

Avatar
Soreng

4 Posts

17 October 2007 at 7:51am

Hi xeraa,

1) On my PC I'm using Win XP professional - on the GOdaddy server, Linux
2) I have now tried to force it through, and all I get is a blank screen (you can take a look at www.makeourstuff.com)
3) Where do I find that mod_rewrite file? In httpd.conf? When I started this topic, I was also asking where the httpd.conf file is.

Sorry I have no clue.

Thanks,
Soren

Avatar
xeraa

Community Member, 58 Posts

17 October 2007 at 8:25am

do you have the problem on windows, on linux, or on both?

mod_rewrite is normally part of httpd.conf.
on windows it should be somewhere like c:\program files\apache software foundation\apache2.2\conf\httpd.conf.
on linux it's a bit more complicated - because it depends on the specific distribution and if you have a management software like confixx, plesk,... that might take care of it. generally start looking in /etc/apache2/. but that's only possible if you have root access...

but i guess it would be easier if you joined us on IRC: http://www.silverstripe.com/irc/

Avatar
trevor

53 Posts

17 October 2007 at 8:31am

the rewrite rules are set in the .htaccess file in the root folder of your ss site. The ss installer adds these for you.

mod rewrite should be enabled in the httpd.conf file. if not enabled and you don't have access to the httpd.conf file you may have to ask your host to enable.

if you load this file and run on your site this will tell you what is enabled.

<?php
phpinfo();
?>

HTH

Trevor

Avatar
Soreng

4 Posts

17 October 2007 at 9:11am

I'm not running it locally on my windows PC, but on a remotely hosted server with Godaddy.com on a Linus system.

I still don't know where I can locate this infamous httpd.conf file... If you tell me where I should be able to find this, perhaps I can make the suggested changes.

Thanks

Go to Top