Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

auto_prepend_file in htaccess

Asked Modified Viewed 2,389 times
R
Rudios
R
Rudios 10
  • Member, joined since
  • Contributed 145 posts on the community forums.
  • Started 16 threads in the forums
  • Started this discussions
asked
Member

I want to include a small menu (top of page) with every page-call on my domain, so I have this extra line below in my .htaccess file (.htaccess file from v9 stable). But, i get an internal server error (+500 server error) when I access my domain. What can be wrong?

php_value auto_prepend_file "/header.php"
0 replies

4 posts

R
Rudios
R
Rudios 10
  • Member, joined since
  • Contributed 145 posts on the community forums.
  • Started 16 threads in the forums
  • Started this discussions
answered
Member

I only have cpanel with my host. For now the only alternative will be to put Fusion (and all other scripts) in their own sub dir and run another index file first. Not what I want but my knowledge does not allow for more. Thanks.
0 replies
W
Wanabo
W
Wanabo 10
www.probemyip.com/probe-my-ip-80x15.png
pHp-Fusion.Asia & pHp-Fusion.Fr & pHp-Fusion.Cn are available for a localized support community. Send PB for info.
  • Senior Member, joined since
  • Contributed 598 posts on the community forums.
  • Started 94 threads in the forums
answered
Senior Member

If you're using directadmin and have custombuild you can try to set the option htscanner.
0 replies
R
Rudios
R
Rudios 10
  • Member, joined since
  • Contributed 145 posts on the community forums.
  • Started 16 threads in the forums
  • Started this discussions
answered
Member

I'll see for alternatives. Thanks!
0 replies
F
Falk
F
Falk 148
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 12 questions
answered
Super Admin

If your host have mod_userdir enabled it will not allow php values by .htaccess. Thus throwing a 500. We have the same in our environments as well.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 4 posts
  • Votes 0 votes
  • Topic users 3 members

3 participants

F
F
Falk 148
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 12 questions
W
W
Wanabo 10
www.probemyip.com/probe-my-ip-80x15.png
pHp-Fusion.Asia & pHp-Fusion.Fr & pHp-Fusion.Cn are available for a localized support community. Send PB for info.
  • Senior Member, joined since
  • Contributed 598 posts on the community forums.
  • Started 94 threads in the forums
R
R
Rudios 10
  • Member, joined since
  • Contributed 145 posts on the community forums.
  • Started 16 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet