I checked my file again, it is not incomplete.
There is no file in /etc/apache2/conf.d
Output of apachectl -S is as below. I actually uninstalled mod_python, I
want to use mod_wsgi only.
Syntax error on line 49 of /etc/apache2/modules.d/16_mod_python.conf:
Invalid command 'PythonHandler', perhaps misspelled or defined by a module
not included in the server configuration
line 49 of /etc/apache2/modules.d/16_mod_python.conf is as below, I don't
know why it causes an error.
PythonHandler django.core.handlers.modpython
2012/8/20 Joris <[email protected]>
> The DocumentRoot directive is missing from the httpd.conf, indicating you
> did not send all the required data. This may be because your attachment is
> incomplete:
>
> There is an include statement in your httpd.conf: "Include
> /etc/apache2/conf.d/*.conf"
> All files from that conf.d folder are also processed. Please look in files
> located in /etc/apache2/conf.d/ for anything useful. Especially files that
> contain a documentroot directive
>
> Also, it may help if you post the output of
> apachectl -S
> (note: some distros want apache2ctl instead of apachectl)
>
> jb
>
>
>
> On Monday, August 20, 2012 11:30:49 AM UTC+2, stikic wrote:
>
>> httpd.conf file is in the attachment.
>>
>> 2012/8/20, Joseph Mutumi <[email protected]>:
>> > Hello,
>> >
>> > Could you post the VirtualHost configuration for Apache?
>> > That would greatly help us help you.
>> >
>> > Regards
>> >
>> > On Mon, Aug 20, 2012 at 12:30 AM, Seyfullah Tıkıç <[email protected]>
>> wrote:
>> >
>> >> Hello,
>> >>
>> >> I read the article below.
>> >> https://docs.djangoproject.com/en/1.3/howto/deployment/modwsgi/
>> >>
>> >> But still http://localhost redirects to
>> >> /var/www/localhost/htdocs/index.html.
>> >> I want http://localhost/ redirescts to /home/seyfullah/django/mysite.
>> >> How can I do this?
>> >>
>> >> --
>> >> SEYFULLAH TIKIÇ
>> >>
>> >> --
>> >> You received this message because you are subscribed to the Google
>> Groups
>> >> "Django users" group.
>> >> To post to this group, send email to [email protected].
>> >> To unsubscribe from this group, send email to
>> >> [email protected].
>> >> For more options, visit this group at
>> >> http://groups.google.com/group/django-users?hl=en.
>> >>
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups
>> > "Django users" group.
>> > To post to this group, send email to [email protected].
>> > To unsubscribe from this group, send email to
>> > [email protected].
>> > For more options, visit this group at
>> > http://groups.google.com/group/django-users?hl=en.
>> >
>> >
>>
>>
>> --
>> SEYFULLAH TIKIÇ
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/KkXJTQwbtYwJ.
>
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
--
SEYFULLAH TIKIÇ
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.