Ubuntu PHP Rewrite Module Not Working

If your apache version is 2.4 then you have to edit apache configuration in /etc/apache2/apache2.conf. Find <Directory /var/www/> and change the block like this : <Directory /var/www/> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory> After that, restart apache. service apache2 reload source : https://askubuntu.com/questions/421233/enabling-htaccess-file-to-rewrite-path-not-working. . . selengkapnya>>

Default Odoo Icon List

Here are the default odoo icon list https://www.slideshare.net/TaiebKristou/odoo-icon-smart-buttons . . . selengkapnya>>

Python Ternary Operator

Python ternary operator introduced in Python 2.5. [on_true] if [expression] else [on_false] x, y = 50, 25 small = x if x < y else y Before this syntax was introduced in Python 2.5, a common idiom was to use logical operators: [expression] and [on_true] or [on_false] However, this idiom is unsafe, as it can give wrong results when on_true has a false boolean. . . selengkapnya>>

Python Get Day Of Week From Date

Use weekday() (docs) >>> import datetime >>> datetime.datetime.today() datetime.datetime(2012, 3, 23, 23, 24, 55, 173504) >>> datetime.datetime.today().weekday() 4 Source : Stackoverflow . . . selengkapnya>>

Login to Microsoft SQL Server Error: 18456

If you're trying to connect using "SQL Server Authentication" then you may want to modify your server authentication: Within the Microsoft SQL Server Management Studio in the object explorer: Right click on the server and click Properties Go to the Security page Under Server authentication choose the SQL Server and Windows Authentication mode radio button Click. . . selengkapnya>>

©2011