Internal Server Error

47 views
Skip to first unread message

Saurabh Bhadkaria

unread,
Jun 24, 2013, 6:33:07 AM6/24/13
to frap...@googlegroups.com
Hi,
I have setup virtual host called frapi, I am using Apache Web server.

why i say http://frapi in web browser this is what It says -

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

And the apache log files says this -

[Mon Jun 24 15:57:25 2013] [alert] [client 127.0.0.1] C:/repository/trunk/var/www/frapi-frapi-ef50192/src/frapi/admin/public/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration

Between this is the below are my virtual host setting -

<VirtualHost *:80>


    ServerName frapi

    DirectoryIndex index.php

    ServerAdmin admin @ api.frapi


    # This should be omitted in the production environment

    SetEnv APPLICATION_ENV development


    DocumentRoot C:/repository/trunk/var/www/frapi-frapi-ef50192/src/frapi/admin/public

<Directory C:/repository/trunk/var/www/frapi-frapi-ef50192/src/frapi/admin/public>

        AllowOverride All

        Order deny,allow

        Allow from All

    </Directory>


</VirtualHost>


<VirtualHost *:80>

    ServerName frapi

    ServerAdmin admin @ api.frapi

    DocumentRoot C:/repository/trunk/var/www/frapi-frapi-ef50192/src/frapi/public 


    # This should be omitted in the production environment

    SetEnv APPLICATION_ENV development

                  

    <Directory C:/repository/trunk/var/www/frapi-frapi-ef50192/src/frapi/public>

        AllowOverride All

        Order deny,allow

        Allow from All

    </Directory>

</VirtualHost>


Please help me to understand what went wrong.

Regards,

Saurabh




Reply all
Reply to author
Forward
0 new messages