New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apphook permission is not working on Apache with non-root url #4385
Comments
@pigsign Have you restarted the Django instance after attaching the apphook? |
@evildmp Yes, I did - try to restart Apache service and reboot server.
{% extends CMS_TEMPLATE %}
{% load cms_tags %}
{% block content %}
{% endblock content %}
{% extends "pwd_generator_base.html" %}
{% block title %}
pwd generator
{% endblock %}
{% block content %}
<br />
<br />
<div class="container">
<div class="row">
<div class="col-md-6 col-md-offset-3">
<div class="well">
<form class="form-inline" role="form" action="{% url 'PwdGenerator:index' %}" method="post">
{% csrf_token %}
<div class="form-group" align="center">
<div class="input-group input-group-lg">
<span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span>
<input class="form-control" name="idName" type="text" placeholder="id" size="40" required />
</div>
<button class="btn btn-info btn-lg" type="submit">ok</button>
</div>
</form>
</div>
</div>
</div>
</div>
{% endblock %} |
@pigsign does this happen on runserver deployment too? |
@yakky thanks for your mention, it works well on runserver deployment. my Apache conf:
Thanks for your kindly help!!!!~ |
I do deep test, find apphook permission work well if Apache httpd.conf using root url.
apphook permission is not working if Apache httpd.conf using non-root url.
Btw, Django-cms origin permission works well on root or non-root url Apache environment. |
Hello @pigsign, |
Closing due to inactivity. |
My environment is:
The text was updated successfully, but these errors were encountered: