131
artigas
Auth Module and Javascript ???
  • 2005/3/17 14:13

  • artigas

  • Quite a regular

  • Posts: 208

  • Since: 2004/12/21


Greetings -

I have sort of gotten the Auth to work by replacing the "index.html" in ..\modules\auth\sample\index.html with my own that then links to other web pages.

However, the other pages have Javascript menu that does not work at all. This kind of goes with the warning about conflicts with the XOOPS JS in the Auth module documentation.

If anyone has got a bit more information about the requirements of XOOPS JavaScript and/or can point me to some docs about it, I would appreciate it.

Thanks In Advance.



132
artigas
Re: Auth Module for wrapping HTML, PHP, CGI web site
  • 2005/3/16 21:35

  • artigas

  • Quite a regular

  • Posts: 208

  • Since: 2004/12/21


Greetings -

I have sort of gotten this to work by replacing the "index.html" in ..\modules\auth\sample\index.html with my own that then links to other web pages.

However, the other pages have Javascript menu that does not work at all. This kind of goes with the warning about conflicts with the XOOPS JS.

If anyone has got a bit more information about the requirements of XOOPS JavaScript and/or can point me to some docs about it, I would appreciate it.

Thanks In Advance.



133
artigas
Re: PHP flags and site security ????
  • 2005/3/15 17:06

  • artigas

  • Quite a regular

  • Posts: 208

  • Since: 2004/12/21


Greetings -

A big Thank You to all that replied in this forum thread.

You generous assistance is appreciated.



134
artigas
Re: PHP flags and site security ????
  • 2005/3/15 2:49

  • artigas

  • Quite a regular

  • Posts: 208

  • Since: 2004/12/21


Greetings tl - Thank You for your response.

I had a PHP.INI with just the flags I needed to turn off and I uploaded to public_html\cgi-bin as you sugested. This had no effect.

I appreciate your efforts. If you have any additional sugestions please do not hesitate to make them.



135
artigas
Re: PHP flags and site security ????
  • 2005/3/14 23:31

  • artigas

  • Quite a regular

  • Posts: 208

  • Since: 2004/12/21


Greetings tjnemez -

Could you please let me know what type of error you got when it did not work?

Thanks In Advance.
Regards,



136
artigas
Re: PHP flags and site security ????
  • 2005/3/14 21:44

  • artigas

  • Quite a regular

  • Posts: 208

  • Since: 2004/12/21


Greetings tjnemez - Thank you for your participation.

I will write an email to my hosting company pointing out that these items are configuration items and that it will take their participation to solve them.

Regards,



137
artigas
Re: PHP flags and site security ????
  • 2005/3/14 19:48

  • artigas

  • Quite a regular

  • Posts: 208

  • Since: 2004/12/21


Greetings Dave_L - Your are correct.

register_globals boolean
Whether or not to register the EGPCS (Environment, GET, POST, Cookie, Server) variables as global variables.

As of PHP 4.2.0, this directive defaults to off.

Please read the security chapter on Using register_globals for related information.

Please note that register_globals cannot be set at runtime (ini_set()). Although, you can use .htaccess if your host allows it as described above. An example .htaccess entry: php_flag register_globals off.

Note: register_globals is affected by the variables_order directive.


Thank You for your response.
Regards,
Roberto Artigas



138
artigas
Re: PHP flags and site security ????
  • 2005/3/14 18:58

  • artigas

  • Quite a regular

  • Posts: 208

  • Since: 2004/12/21


Greetings Bandit-X and Dave_L -

Thank you for your replies. I will attempt the other method which was to set the flags programmatically from mainfile.php.

Regards,



139
artigas
Re: PHP flags and site security ????
  • 2005/3/14 17:30

  • artigas

  • Quite a regular

  • Posts: 208

  • Since: 2004/12/21


Greetings Bandit-X - Thank you for your response.

I tried it like you mentioned it and I still get the 500 error and the web site becomes inaccessible. Here is the actual text of the message showing on the web page.

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [me] 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.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


I am somewhat at a loss here. This should work. It is got to be something that I do not know that is getting me.

Regards,



140
artigas
Re: PHP flags and site security ????
  • 2005/3/14 16:50

  • artigas

  • Quite a regular

  • Posts: 208

  • Since: 2004/12/21


Greetings - This is on a remote hosted web site.

PHP Version 4.3.10

Apache/1.3.33 (Unix) mod_gzip/1.3.26.1a mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.6b PHP-CGI/0.1b

I tried added to the end of my .htaccess file in my public_html directory the following items.

<Directory my_path_here>
php_admin_flag register_globals off
</Directory>

I also tried...
<Directory my_path_here>
php_flag register_globals off
</Directory>

In both cases I got a 500 error message and the web site was inaccessible.

Any assistance would be appreciated.




TopTop
« 1 ... 11 12 13 (14) 15 16 17 18 »



Login

Who's Online

114 user(s) are online (62 user(s) are browsing Support Forums)


Members: 0


Guests: 114


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits